• v0.9.0 327c658587

    v0.9.0 Stable

    Hapto released this 2026-11-17 01:02:46 +00:00 | 0 commits to main since this release

    ducielperf 0.9.0

    Changes since 0.8.0. Drop-in replacement: copy ducielperf.dll over the old one. Your existing ducielperf.cfg keeps working.

    New: in-game settings window

    The DLL now includes a DucielPerf addon (embedded, shown in the addon list so you can disable it).

    • Minimap button: a gear icon on the minimap edge.
      • Left-click opens the settings, right-click opens the status page.
      • Drag it to move it around the minimap.
    • Slash commands:
      • /ducielperf or /dperf: open the window
      • /dperf status: open the status page
      • /dperf minimap: show or hide the minimap button

    Tabs

    • Performance: faster decompression, file cache, Lua string speedups, garbage-free strings, buffered SavedVariables saving, fast frame raising, GC postponing in combat and its MB limit.
    • Diagnostics: frame counters, freeze watchdog and its threshold, allocation tracking.
    • Features:
      • turn World Markers, Interact, smart mouse targeting, the transmog fix and the exit error fix on or off;
      • place each world marker on yourself or your target, clear one or clear all, and see which ones are placed;
      • see your Interact and loot key bindings, loot all corpses with one click, and open the key bindings window.
    • Status (updated every second): Lua memory, garbage collections and how many were postponed in combat, frame raising (worst ms, frames moved), garbage-free strings, watchdog reports, frame counters and allocation tracking.

    Every setting has an explanation in its tooltip.

    Settings apply live

    Settings are saved to ducielperf.cfg in the WoW folder, shared by every character. Your comments and other lines in that file are kept.

    Apply at once:

    • faster decompression, file cache, Lua string speedups
    • buffered SavedVariables saving, fast frame raising, smart mouse targeting
    • GC postponing in combat and its limit
    • frame counters, watchdog and its threshold, allocation tracking
    • the minimap button

    Next start (the window marks these): garbage-free strings, World Markers, Interact, transmog fix, exit error fix.

    A part that was off in ducielperf.cfg when the game started isn't loaded at all. Turning it back on then needs a restart, and the window shows "restart needed" in orange.

    New ducielperf.cfg keys

    All default to on, except alloctrack:

    Key What it controls
    inflate Faster MPQ decompression
    filecache MPQ file-lookup cache
    luastrings Lua string speedups
    alloctrack Allocation tracking (default off)
    worldmarkers World markers
    interact Interact and loot keys
    clickthrough Smart mouse targeting
    transmogfix Transmog fix
    exitfix Exit error fix
    minimap Minimap button
    minimap_angle Minimap button position

    For addon authors

    New Lua functions:

    • DucielPerf_SettingInfo(i)
    • DucielPerf_GetSetting(key)
    • DucielPerf_SetSetting(key, value)

    Tests

    • test_config: checks that writing ducielperf.cfg keeps comments and other keys.
    • test_addon: runs the settings addon in real Lua 5.0 against a mock of the WoW API.
    Downloads
  • v0.8.0 a9350ded53

    v0.8.0 Stable

    Hapto released this 2026-11-16 20:34:33 +00:00 | 1 commits to main since this release

    ducielperf 0.8.0

    Changes since 0.5.1. Drop-in replacement: copy ducielperf.dll over the old one. Every new feature can be switched off in ducielperf.cfg (in the WoW folder).

    New

    Faster frame raising: no more freezes when opening panels or popups (0.8.0)

    Showing a "toplevel" frame raises it above the rest of its strata. That covers the character and spellbook panels, StaticPopup dialogs such as group invites, the breath/fatigue timer, and many addon windows. Before raising it, the client closes the gaps between frame levels. To do that it walks its list of every frame ever created (about 17,000 with a large addon set) once per level, so a single raise took 150–975 ms. ducielperf now does it in one walk and gets the same result: same levels, same level count, same order within each level. In game the worst raise is now about 2 ms.

    • Lua: DucielPerf_GetFrameLevelStats() returns calls, fallbacks, frames moved, total ms, worst ms and frames in the list.
    • Disable: framelevel=0

    GC deferral in combat, on by default (0.7.0)

    A full Lua garbage collection takes 95–145 ms with a raid UI, and it caused 23 of 56 boss-fight hitches in a BWL/MC night. While you are in combat, collections are now postponed: the threshold is raised in 2 MB steps, up to 128 MB of extra growth per fight. When combat ends, the next allocation collects. In the ZG test: no hitches in boss fights, 60 fps.

    • Lua: DucielPerf_GCDefer([on]). DucielPerf_GetGCStats(t) now also reports deferOn, deferring, deferred, deferredFights, deferCapHits and deferPeakExtra.
    • Config: gcdefer=0 to disable, gcdefer_mb=<MB> for the cap (default 128).

    Faster SavedVariables saving at logout and /reload (0.6.0)

    The client writes each saved value with its own system call. A logout with large SavedVariables (aux-addon, pfExtend, ~8 MB each) spent about 6 s of an 8.5 s frame writing. Writes are now collected in a 256 KB buffer and written in large chunks. The files come out byte for byte the same.

    • Disable: svwrite=0

    Diagnostics

    • Watchdog line numbers (0.8.0): freeze reports now show the Lua line that is actually running. Before, the line could be stale or :-1.
    • Watchdog in multi-client setups (0.6.1): clients that are not the active window are skipped. They throttle themselves to about 4 fps, which would fill the log at low thresholds.
    • Allocation tracking (0.8.0): a vararg function's arg table is now charged to that function instead of its caller. A wrapper such as a profiler no longer pays for its callees' arg tables. Per-addon numbers from older logs aren't directly comparable.

    Tests

    New host-side tests:

    • test_framelevel: 3,000 random frame setups checked against a literal port of the client's code.
    • test_svwrite: byte-identical saves with about 300× fewer system calls.
    • test_watchdog: now also covers GC deferral and the live line number.
    • bench_alloctrack: now also covers vararg attribution.

    tests/run_tests.sh runs them all.

    Downloads
  • v0.5.1 df2d358c10

    v0.5.1 Stable

    Hapto released this 2026-11-15 16:53:02 +00:00 | 6 commits to main since this release

    ducielperf 0.5.1, a C++ client DLL for the WoW 1.12.1 (build 5875) client used by OctoWoW / Turtle WoW 1.18.1.

    Install: copy ducielperf.dll to <WoW>\dll\, add dll\ducielperf.dll to dlls.txt, and remove the DLLs it replaces (weirdutils.dll, worldmarkers.dll, transmogfix.dll, Interact.dll). See the README for details.

    Features

    • World Markers, Interact, Clickthrough and Transmog Fix (rewrite of the WeirdUtils modules; keeps WeirdUtils' Lua names for addon compatibility)
    • Performance: libdeflate MPQ decompression, MPQ file-lookup cache, Lua string speedups, and garbage-free string building (table.concat, string.rep, gsub, format, lower/upper, char), with output byte-identical to the client's
    • Fix for exit error #124 "Memory Invalid Block"
    • Diagnostics: per-addon Lua allocation tracking, per-frame counters, Lua GC statistics, and a freeze watchdog that writes Logs\ducielperf_freezes.log
    • Optional startup config <WoW>\ducielperf.cfg (framestats, watchdog, watchdog_ms, strbuf)

    New in 0.5.1

    • Freeze reports name system functions, summarize the main thread's time by category, and sample the game's loader and DXVK threads during long frames
    • Allocation tracking puts SavedVariables loading in SV:<Addon> buckets
    Downloads