16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

Tune EU7 PACK streaming with v10 CHNK sub-chunks and worker read cache

Chunk PACK sections at bake time and decode them incrementally at runtime
to cut apply hitches during fast camera flight; cache parsed section headers
per worker thread to avoid reopening and reparsing on every sub-chunk read.
This commit is contained in:
maj00r
2026-06-14 19:49:24 +02:00
parent 8c069ec5f2
commit 56d72fb25e
9 changed files with 336 additions and 23 deletions

View File

@@ -87,7 +87,8 @@ log_pack_bench_impl( Eu7PackBench const &bench, char const *const title ) {
std::vector<BenchLine> lines {
{ "worker read_pack", bench.worker_read_pack_ms,
"sections=" + std::to_string( bench.worker_sections_done ) +
"chunks=" + std::to_string( bench.worker_chunks_decoded ) +
" sections=" + std::to_string( bench.worker_sections_done ) +
" finalized=" + std::to_string( bench.sections_finalized ) +
" models=" + std::to_string( bench.worker_models_decoded ) +
" fail=" + std::to_string( bench.worker_failures ) },