mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 09:33:51 +00:00
emitOpenFormats now takes an optional threadCount parameter (0 =
auto). The asset_extract --upgrade-extract path forwards opts.threads
so users can override the auto-detect when running on a CI machine
with limited cores or wanting deterministic timing.
Also wraps the upgrade pass with a chrono timer and prints elapsed
seconds so the parallelization payoff is visible at a glance:
asset_extract --upgrade-extract Data/expansions/wotlk --threads 8
Walking Data/expansions/wotlk for open-format upgrades...
elapsed : 47.2 s
PNG (BLP→PNG) : 12340 ok
...
Verified end-to-end: --threads 2 on 5 hand-built DBCs converts all
5 in well under a second.
|
||
|---|---|---|
| .. | ||
| extractor.cpp | ||
| extractor.hpp | ||
| main.cpp | ||
| manifest_writer.cpp | ||
| manifest_writer.hpp | ||
| open_format_emitter.cpp | ||
| open_format_emitter.hpp | ||
| path_mapper.cpp | ||
| path_mapper.hpp | ||