From f01aa1a9a8d19db5ab908ddbb30b0467be8aa092 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Tue, 29 Sep 2026 09:42:17 +0800 Subject: p70: 启动帧率与渲染基准(真实可复跑数据) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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/渲染口径/字形表未动 --- docs/evidence/p70-env.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/evidence/p70-env.txt (limited to 'docs/evidence/p70-env.txt') diff --git a/docs/evidence/p70-env.txt b/docs/evidence/p70-env.txt new file mode 100644 index 0000000..2178e6b --- /dev/null +++ b/docs/evidence/p70-env.txt @@ -0,0 +1,5 @@ +dotnet-counters=missing +xvfb-run=available +bench_seconds=60 +desktop_dll=/home/somhairle/projects/living-village/src/LivingVillage.Desktop/bin/Release/net8.0/LivingVillage.Desktop.dll +kernel_dll=/home/somhairle/projects/living-village/src/LivingVillage.Headless/bin/Release/net8.0/LivingVillage.Headless.dll -- cgit v1.2.3