diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-29 09:42:17 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-29 09:42:17 +0800 |
| commit | f01aa1a9a8d19db5ab908ddbb30b0467be8aa092 (patch) | |
| tree | 2385fd0b75b3b35f5a29ac9b5c02d9b9e5aea13b /docs/evidence/p70-kernel-baseline.txt | |
| parent | 54732d906a68d89ee1446ddb82ae639a016925be (diff) | |
| download | living-village-f01aa1a9a8d19db5ab908ddbb30b0467be8aa092.tar.gz | |
p70: 启动帧率与渲染基准(真实可复跑数据)
- scripts/bench-p70.sh:两档基准——Kernel --performance-baseline(6000 tick ×3)
+ Desktop xvfb 60s 真实帧循环;scripts/analyze-p70.py 汇总裁决
- Game.fs:LV_FRAME_LOG=1 逐帧日志(墙钟帧间隔 + GC 线程分配增量 + tick/panel),
仅新增日志,不改渲染/更新逻辑
- P70PerformanceBaselineTests:Pin --performance-baseline final_digest=953775FA…(防漂移)
- 实测:Kernel tps mean=466679 alloc=3032184 gen0/1/2=0/0/0 determinism=PASS;
Desktop 60s frames=8788 fps=139.3 mean=7.179ms max=33.919ms 掉帧>33.3ms=2
每帧分配 mean=231KB p95=297KB;dotnet-counters 缺席已如实标注
- Desktop 338/338、Kernel 120/120;Kernel/Sim/渲染口径/字形表未动
Diffstat (limited to 'docs/evidence/p70-kernel-baseline.txt')
| -rw-r--r-- | docs/evidence/p70-kernel-baseline.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/evidence/p70-kernel-baseline.txt b/docs/evidence/p70-kernel-baseline.txt new file mode 100644 index 0000000..c43281a --- /dev/null +++ b/docs/evidence/p70-kernel-baseline.txt @@ -0,0 +1,6 @@ +performance_config seed=42 npc_count=4 warmup_ticks=120 measure_ticks=6000 repetitions=3 input_pattern=8-direction-cyclic +performance_runtime framework=.NET 8.0.31 version=8.0.31 os=Pop!_OS 24.04 LTS architecture=X64 stopwatch_frequency=1000000000 +performance_sample repetition=1 seed=42 npc_count=4 warmup_ticks=120 measure_ticks=6000 elapsed_stopwatch_ticks=21539565 stopwatch_frequency=1000000000 elapsed_seconds=0.021539565 ticks_per_second=278557.157 allocated_bytes=3032344 gen0=0 gen1=0 gen2=0 final_tick=6120 final_digest=953775FAEB2FDDE97289491AA260BD8D390C571E48A7A13AD2CB6FB7124F7F6C runtime=.NET 8.0.31 runtime_version=8.0.31 +performance_sample repetition=2 seed=42 npc_count=4 warmup_ticks=120 measure_ticks=6000 elapsed_stopwatch_ticks=12621178 stopwatch_frequency=1000000000 elapsed_seconds=0.012621178 ticks_per_second=475391.441 allocated_bytes=3032104 gen0=0 gen1=0 gen2=0 final_tick=6120 final_digest=953775FAEB2FDDE97289491AA260BD8D390C571E48A7A13AD2CB6FB7124F7F6C runtime=.NET 8.0.31 runtime_version=8.0.31 +performance_sample repetition=3 seed=42 npc_count=4 warmup_ticks=120 measure_ticks=6000 elapsed_stopwatch_ticks=9286647 stopwatch_frequency=1000000000 elapsed_seconds=0.009286647 ticks_per_second=646088.949 allocated_bytes=3032104 gen0=0 gen1=0 gen2=0 final_tick=6120 final_digest=953775FAEB2FDDE97289491AA260BD8D390C571E48A7A13AD2CB6FB7124F7F6C runtime=.NET 8.0.31 runtime_version=8.0.31 +performance_determinism=PASS |
