1.4.0-MIDNIGHT
What's new
Added
- A profiler for Bagforge itself. Type
/bf profileto open a sortable table of where Bagforge spends time and memory, with calls per second, self and total time, peak, and allocation per function. Hover a row to see the call stack of its slowest call. /bf profile benchtimes fixed workloads against your real bags,/bf profile nativereads the client's own addon profiler, and/bf profile memreports memory, pools and scanners./bf diagchecks that the scanner indexes are consistent and shows how long the last rebuild took and where the time went.- Nothing is measured while the profiler is stopped.
Faster
Every number below was measured with the new profiler on one character, with the same bags and bank before and after, on a 12.0.7 client. Your numbers will differ.
- Item lock changes while you drag, split or sort now cost about 14ms in total across 733 events, down from about 40ms across 726. Repainting buttons for them fell from 33ms to 5ms. Each lock change used to repaint the whole button.
- Switching from the character bank to the warband bank went from 74ms to 64ms in one frame. Most of that came from the class restriction check on gear, which fell from 11ms to under 3ms.
- Reading item level on a cold bag and bank open fell from 3.6ms to under 0.25ms.
- A cold bank scan fell from 21ms to 17ms and allocates about 18 percent less memory.
- Unbound items no longer build a tooltip every time they are sorted into a category.
- The item context refresh that each bank open path asked for separately is now merged into one pass per frame.
Switching banks still takes about 20ms of Blizzard's own bank panel reset. Bagforge cannot skip that.
Saved data
- Bagforge now keeps a small cache of class restriction results in your account saved variables, under
BagforgeDB.global.classReq. It is tied to the game build, capped at 6000 entries per class, and rebuilt on its own if it is missing. /bf profileand/bf diagsave their last report toBagforgeDB.profileandBagforgeDB.diag. These only appear if you use those commands.- All three are safe to delete. Going back to an older version needs no migration.
Built for patch 12.1.5.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects