16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 20:59:19 +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

@@ -20,6 +20,7 @@ namespace scene::eu7 {
struct Eu7PackBench {
// --- worker (async read PACK) ---
double worker_read_pack_ms { 0.0 };
std::uint64_t worker_chunks_decoded { 0 };
std::uint64_t worker_sections_done { 0 };
std::uint64_t sections_finalized { 0 };
std::uint64_t worker_models_decoded { 0 };