diff options
| author | Diego Luiz Becker <diegoluizbecker@gmail.com> | 2026-11-24 11:32:39 -0300 |
|---|---|---|
| committer | Diego Luiz Becker <diegoluizbecker@gmail.com> | 2026-11-25 14:52:12 -0300 |
| commit | 740445ab622d3a50dc2cc17df61e535f7713825e (patch) | |
| tree | eebbf7a177d383628726f67c723ffd6c08281617 /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | fd19cb2a7c051b65fbab759cb9d97eeab9a906be (diff) | |
make_game assets: BCPack follow-ups in worker processes, largest first
On top of tedin7's change, for the follow-up pass (ttpf_assets.complete_pool):
- Each worker reads its own pool's manifest (follow_pool), so the build no
longer parses every pool's catalog before the pass, holds them all at once
or pickles one to each worker.
- The largest pools start first, so the longest one doesn't run alone at
the end. Log lines still come in pool order once the pass is done.
- Progress ticks as each pool finishes. After a failure the pools not
started yet are dropped and the earliest failure in list order is raised.
- The budget is the stage's: --jobs, or its share when the assets stage
runs beside the shaders stage; at most 61 workers on Windows
(ProcessPoolExecutor's limit).
The archive and pool exports run one at a time again, each with the whole
budget: one rpf9dump ttpf export already keeps about 3/4 of 24 cores busy
and peaked at 8.2 GiB here, so side-by-side exports would add memory for
little time.
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions