Files
airdef/docs/measurements/issue-126-effects-skip/report.json
T
chexit d8d9913770
build / mod (push) Failing after 29s
Issue #126 point 4: same-tick A/B parity and timing record
The temporary in-session shader switch (harness build, reverted) renders the
same frozen tick with both effects.wgsl versions: old-vs-new differs by at
most 1-2/255, no pixel over 5/255, and no more than two frames of the same
shader differ. Frame time is below the in-game noise floor on M5 (32
screen-filling late-life fireballs: +0.37 ms median, sigma 3.6). Includes
the hd_bench polygon_noon run and test counts.

Co-Authored-By: Kimi Code <noreply@moonshot.ai>
2026-11-21 13:51:13 +03:00

119 lines
3.0 KiB
JSON

{
"issue": 126,
"point": 4,
"base": "c08b73729",
"engine_pin": "3428a571b",
"change": "7d77c09f0",
"method": "same-process same-frozen-tick A/B (temporary harness build, reverted); pair benches interleaved",
"scene": {
"world": "Polygon (copy)",
"resolution": [
2560,
1440
],
"env": {
"HORIZON_HD_TAA": "0",
"HORIZON_HD_WIND": "0",
"HORIZON_HD_CLOUDS": "0",
"HORIZON_HD_VOLFOG": "0",
"HORIZON_HD_WATER": "0",
"HORIZON_HD_AO": "0"
},
"tick_clock": "p[1020]=1 (no partial tick), blast start 0 life 4000",
"parity_frames": {
"32_blasts": [
"/tmp/st4/new_623.png",
"/tmp/st4/old_623.png",
"/tmp/st4/new2_623.png",
"/tmp/st4/new_1603.png",
"/tmp/st4/old_1603.png",
"/tmp/st4/new2_1603.png"
],
"one_blast": [
"/tmp/st3/new_620.png",
"/tmp/st3/old_620.png",
"/tmp/st3/new2_620.png",
"/tmp/st3/new_1608.png",
"/tmp/st3/old_1608.png",
"/tmp/st3/new2_1608.png"
]
}
},
"pixel_parity": [
{
"scene": "32 blasts, sky",
"tick": 623,
"k": 0.156,
"path": "march runs (fade>0)",
"old_vs_new_mean_255": 0.0054,
"px_over_20": 0,
"same_shader_floor_mean_255": 0.003,
"max": 1
},
{
"scene": "32 blasts, sky",
"tick": 1603,
"k": 0.401,
"path": "march skipped (fade=0)",
"old_vs_new_mean_255": 0.0075,
"px_over_20": 0,
"same_shader_floor_mean_255": 0.0069,
"max": 1
},
{
"scene": "one blast at 20 blocks, sky",
"tick": 620,
"k": 0.155,
"path": "march runs (fade>0)",
"old_vs_new_mean_255": 0.0455,
"px_over_20": 0,
"same_shader_floor_mean_255": 0.0597,
"max": 2
},
{
"scene": "one blast at 20 blocks, sky",
"tick": 1608,
"k": 0.402,
"path": "march skipped (fade=0)",
"old_vs_new_mean_255": 0.0436,
"px_over_20": 0,
"same_shader_floor_mean_255": 0.077,
"max": 2
}
],
"frame_time": [
{
"scene": "32 blasts, late life",
"tick": 1606,
"new_median_ms": 79.274,
"old_median_ms": 79.628,
"old_minus_new_median_ms": 0.37,
"old_minus_new_mean_ms": 1.15,
"stdev_ms": 3.65,
"pairs": 10
},
{
"scene": "one blast at 20 blocks, late life",
"tick": 1604,
"new_median_ms": 15.493,
"old_median_ms": 16.302,
"old_minus_new_median_ms": 0.82,
"old_minus_new_mean_ms": 0.95,
"stdev_ms": 3.79,
"pairs": 16
}
],
"hd_bench_polygon_noon_static": {
"old_gpu_avg_ms": 18.06,
"new_gpu_avg_ms": 21.29,
"budget_ms": 18,
"vs_baseline_mean_255": 0.79,
"vs_baseline_pct_over_20": 0.58,
"note": "no blasts in the scene; the changed branch is not taken; budget exceeded in both runs (this session's same scene ranged 18-31 ms)"
},
"tests": {
"cargo test airdef-mod": "121 passed, 0 failed",
"tools/test_hd_bench.py": "5 passed"
}
}