Skip to content

build: shrink windows-debug build dirs (thin archives, -g1 fleet, shallow deps) - #4880

Merged
jakildev merged 2 commits into
masterfrom
claude/build-dir-footprint
Nov 5, 2026
Merged

jakildev merged 2 commits into
masterfrom
claude/build-dir-footprint

Conversation

@jakildev

@jakildev jakildev commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Summary

A fully built windows-debug dir (MinGW Makefiles, MSYS2 g++ 15.2, all 94 exes) measured 29.5 GB. This PR cuts it to 24.6 GB with no change for interactive debugging, and to 8.8 GB for the fleet (−70%).

  • Thin archives on MinGW (cmake/ir_make_rules_override.cmake, wired via CMAKE_USER_MAKE_RULES_OVERRIDE). MinGW stored every object twice: once in its static lib, and again in the objects.a that CMake's Windows-GNU link rule builds for each exe. IrredenEngineTest's copy alone was 1.97 GB. The override switches ar qc to ar qcT, so archives reference the .obj files instead of copying them. It runs after every project(), so FetchContent subprojects are covered too (checked on enkiTS's link.txt). It only applies when MINGW is set; Linux and macOS rules are untouched.
  • IRREDEN_DEBUG_INFO cache var: FULL (default, -g) or LINES (-g1). fleet-up exports LINES and seeds it into the tmux global env, as it already does for IR_FLEET_WORKERS, so panes get it even on a server that started before fleet-up ran. The env var only seeds a build dir's first configure. Existing pool dirs have no entry yet, so they pick it up on their next reconfigure, which this PR's CMake edits trigger anyway. A human shell configures FULL.
  • FetchContent without git history. Tag and branch deps get GIT_SHALLOW TRUE. enkiTS was the one dep pinned to a SHA (GIT_SHALLOW FALSE). It now fetches archive/<sha>.tar.gz with a URL_HASH SHA256. The override knob is renamed IR_ENKITS_GIT_REF, which shallow-clones a branch or tag. The rename keeps an old cached SHA value from being shallow-cloned by mistake.
  • miniaudio EXCLUDE_FROM_ALL. None of its targets are linked (we use the single header). On this host its miniaudio_libvorbis DLL broke all on master: it doesn't link the ma_* core symbols it references, and it gets built whenever MSYS2's libvorbis is installed.

Debug-info options measured (step 1 of the task)

Option Result on this toolchain
-gz gcc: -gz is not supported in this configuration
-Wl,--compress-debug-sections=zlib MinGW ld: unrecognized option (PE has no support)
objcopy --compress-debug-sections post-link unsupported on 't.exe' (PE)
split debug (--only-keep-debug + strip) moves the DWARF into a sibling file, so the dir doesn't shrink; rejected
-fdebug-types-section PE ld doesn't dedup type-unit COMDATs; the exe grew 5% in a micro-test
-g1 gdb bt keeps func () at file:line; drops locals, args and types. Opt-in for the fleet only

.debug_info is 208 of IRShapeDebug's 336 MB at -g and 68.5 MB at -g1.

Before / after (one build dir, origin/master 8a38400, fleet-build -- -k, all 94 exes)

before after, FULL (human default) after, LINES (fleet)
build/ total 29,463 MB 24,554 MB 8,757 MB
IRShapeDebug.exe 336 MB 336 MB 107 MB
IRCanvasStress.exe 323 MB 323 MB 102 MB
IrredenEngineTest.exe 1,718 MB 1,718 MB 492 MB
IrredenEngineTest.dir/objects.a 1,971 MB 9 MB 9 MB
all *.a 4,957 MB 54 MB 54 MB
all *.obj 4,904 MB 4,902 MB 1,591 MB
all *.exe 17,799 MB 17,799 MB 5,583 MB
all *.dll (37 per-exe copies each) 1,006 MB 1,003 MB 690 MB
_deps 1,108 MB 959 MB* 866 MB*
_deps/*/.git 579 MB ~26 MB* ~26 MB*

* I couldn't delete and re-fetch _deps, so the after builds reused the baseline's full clones. The 578 MB of history is still counted in the measured _deps and build/ figures above. The ~26 MB is the sum of fresh git clone --depth 1 --branch <ref> .git dirs for the 13 shallow deps (enkiTS now has none; LuaJIT was already shallow). On a fresh dir, build/ comes to roughly 24.0 GB (FULL) and 8.2 GB (LINES).

Build time for the full tree was 23.5 min before, 23.3 min for FULL and 15.7 min for LINES.

Test plan

  • Full all build at master, then FULL and LINES builds with this branch, all in the same build dir. Before: one failure (the miniaudio libvorbis DLL). Both afters: exit 0, no failures.
  • compile_commands.json under LINES shows -g … -g1, so the later flag wins. CMakeCache gets IRREDEN_DEBUG_INFO:STRING=FULL with no env set.
  • link.txt shows ar.exe qcT for the test exe's objects.a, libIrredenEngined.a and the enkiTS subproject's libenkiTSd.a.
  • gdb -batch -ex "break IREngine::init" -ex run -ex bt on the LINES IRShapeDebug.exe: #0 IREngine::init () at …/ir_engine.hpp:115, #1 main () at …/shape_debug/main.cpp:2050.
  • IrredenEngineTest.exe (LINES, thin archives): 3424 passed, 18 skipped, 16 failed. The same ToolSpawnTest.*, LuaSpawnToolTest.* and FontMakerSource.* tests fail on the opus-architect pool's existing exe, built before this branch with full -g and regular archives (15 failures there). They are pre-existing on this host: CreateProcessW failed with error 193 from child spawns.
  • scripts/fleet/tests/test_fleet_up_pane_launch_env.sh: 13 passed, including the new IRREDEN_DEBUG_INFO=LINES asserts on the pool-1 and split panes.
  • scripts/fleet/tests/test_fleet_up_gh_accounting.sh: 44 passed, 0 failed.

Notes for reviewer

🤖 Generated with Claude Code

…llow deps)

A fully built windows-debug dir was 29.5 GB. MinGW archives copied every
object twice (static libs plus the per-exe objects.a CMake builds for long
link lines), so the archives now use thin `ar T` via a rules-override file
that also reaches FetchContent subprojects. That alone brings it to 24.6 GB.

Full -g repeats the statically linked engine's DWARF in every exe; gcc
rejects -gz and MinGW ld/objcopy cannot compress PE debug sections. The
new IRREDEN_DEBUG_INFO cache var (FULL default, LINES = -g1) keeps
file:line backtraces; fleet-up exports LINES to panes, giving 8.8 GB.

FetchContent deps clone shallow (tag/branch refs) and enkiTS comes from a
SHA256-checked archive, so _deps stops carrying ~550 MB of history.
miniaudio is EXCLUDE_FROM_ALL: none of its targets are linked, and its
libvorbis DLL broke `all` on MinGW hosts with MSYS2 libvorbis installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-windows PR was opened from a Windows (MSYS2) host labels Nov 2, 2026

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — build: shrink windows-debug build dirs (thin archives, -g1 fleet, shallow deps)

Verdict: needs-fix

The build-footprint approach is coherent: the MinGW-only rule override is scoped before project(), the debug-info cache keeps the human default at FULL, the fleet environment propagation has focused coverage, and the enkiTS archive path remains hash-pinned. I found one merge-gating validator failure.

Needs-fix

  • docs/agents/BUILD.md:253 — the added debug-info material grows this instruction file to 426 lines against its 400-line budget, outside the permitted 10-line band. The head’s instruction-size check fails on this exact file, and I reproduced it with python3 scripts/lint_instruction_size.py --against origin/master (exit 1). Please condense the new material enough to return within the ratchet, or explicitly update the baseline if the larger canonical instruction surface is deliberate; then rerun the validator.

Validation reviewed

  • bash scripts/fleet/tests/test_fleet_up_pane_launch_env.sh — 13 passed, 0 failed (exit 0).
  • bash scripts/fleet/tests/test_fleet_up_gh_accounting.sh — 46 passed, 0 failed (exit 0).
  • git diff --check origin/master...HEAD — exit 0.
  • Current CI: instruction-size failed; linux-build, fleet-tests, and perf-gate were still pending when reviewed. Other completed checks were green.

Praise

  • The thin-archive replacement covers both ordinary static libraries and CMake’s MinGW objects.a long-command-line workaround, while remaining idempotent when the override is loaded for multiple languages.
  • Renaming the enkiTS override avoids accidentally treating an old cached commit SHA as a shallow branch/tag ref.

🤖 Reviewed by Codex GPT-5 (review-pr skill; opus-class final pass)

Opus recheck not required (reviewed at opus class).

@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:reviewing-mac-pool-2 labels Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-epyc-7763-64-unknown

perf comparison: 9557153 → 6b2330f-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-7763-64-unknown/95571531742c09e1f18da3db0d1830b085f8c5f5
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/6b2330f7c-ci

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.69 vs baseline 103.55 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@955715317 (branch tip); master 4d4a9c114, finished 2026-11-01T01:37:19Z, 1.7 d before the head run, ref_ms 103.55
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 4d4a9c114 and merge base 8a3840064 (2 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.788 → 0.788 (+0.0pp) 156630 → 156630 262144 → 262144 50080 → 50080 (1.000×)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.990 → 0.990 (+0.0pp) 255592 → 255592 262144 → 262144 3862 → 3862 (1.000×)

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 482.68 → 491.44 (+1.8%) 1912.86 → 1704.67 (-10.9%) ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1284.12 → 1278.24 (-0.5%) 2574.71 → 2526.68 (-1.9%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 672.58 → 656.20 (-2.4%) 12714.36 → 12282.00 (-3.4%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1743.19 → 1731.94 (-0.6%) 3027.44 → 3020.26 (-0.2%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 64.31→67.41 63.78→67.05 56.47→58.62 1.30→0.96 ↓ 52.89→55.13 5.40→5.67 — 0.00→0.00 2.58→2.71 14.84→15.56 11.85→11.91 21.74→22.87 3.82→3.83 1.24→1.31 0.21→0.21 — 8.02→8.04
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 107.96→109.78 417.24→417.53 261.53→261.90 8.04→4.05 ↓ 230.10→233.39 5.13→5.07 — 0.00→0.00 2.40→2.40 28.15→27.85 10.50→10.32 19.57→19.33 8.10→8.09 1.50→1.47 0.20→0.18 ↓ — 7.58→7.50
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 59.42→59.38 81.88→81.83 66.57→65.92 13.08→12.99 48.44→48.33 8.60→8.49 1.15→1.10 0.00→0.00 0.95→0.97 65.19→62.27 10.78→10.59 58.75→56.85 8.20→7.92 1.83→1.81 0.19→0.18 0.00→0.00 9.25→9.02
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 120.52→120.16 537.53→534.70 425.81→425.37 6.37→6.39 368.45→367.25 5.43→5.57 1.12→1.10 0.00→0.00 0.72→0.67 ↓ 25.53→24.71 10.72→10.74 19.26→19.37 6.60→6.50 1.49→1.41 ↓ 0.18→0.17 ↓ 0.00→0.00 7.68→7.33

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 246.854 → 256.926 (+4.1%)
RENDER ComputeLightVolume 33.089 → 34.292 (+3.6%)
RENDER CanvasToFramebuffer 17.303 → 17.544 (+1.4%)
RENDER BakeSunShadowMap 9.493 → 10.277 (+8.3%)
RENDER ComputeSunShadow 7.826 → 7.894 (+0.9%)
UPDATE PropagateTransform 4.444 → 4.584 (+3.2%)
UPDATE FogRevealEval 4.251 → 4.221 (-0.7%)
RENDER ComputeVoxelAO 3.994 → 3.970 (-0.6%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1029.388 → 1029.410 (+0.0%)
RENDER ComputeLightVolume 29.437 → 29.165 (-0.9%)
RENDER ComputeSunShadow 21.807 → 21.539 (-1.2%)
RENDER CanvasToFramebuffer 16.427 → 16.380 (-0.3%)
RENDER ComputeVoxelAO 9.553 → 9.381 (-1.8%)
RENDER BakeSunShadowMap 8.723 → 8.658 (-0.7%)
RENDER LightingToTrixel 8.431 → 8.288 (-1.7%)
UPDATE PropagateTransform 4.525 → 4.425 (-2.2%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 291.808 → 290.675 (-0.4%)
RENDER ComputeSunShadow 57.890 → 55.016 (-5.0%)
RENDER LightingToTrixel 37.677 → 35.913 (-4.7%)
RENDER ComputeLightVolume 32.943 → 32.644 (-0.9%)
RENDER BakeSunShadowMap 23.010 → 22.625 (-1.7%)
RENDER CanvasToFramebuffer 17.714 → 17.672 (-0.2%)
RENDER FogToTrixel 7.272 → 7.067 (-2.8%)
UPDATE PropagateTransform 6.270 → 6.404 (+2.1%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1463.424 → 1458.880 (-0.3%)
RENDER ComputeLightVolume 29.476 → 29.648 (+0.6%)
RENDER ComputeSunShadow 19.108 → 18.288 (-4.3%)
RENDER CanvasToFramebuffer 16.257 → 16.034 (-1.4%)
RENDER BakeSunShadowMap 8.716 → 8.857 (+1.6%)
RENDER ComputeVoxelAO 7.771 → 7.637 (-1.7%)
RENDER LightingToTrixel 6.805 → 6.686 (-1.7%)
UPDATE PropagateTransform 6.350 → 6.340 (-0.2%)

@jakildev jakildev removed the fleet:needs-fix Fleet reviewer found issues — author must address label Nov 4, 2026
The debug-info section pushed docs/agents/BUILD.md to 426 lines (budget
400, band 10). Keep a two-line gdb pointer in BUILD.md and move the
compressed-DWARF dead-end note into the IRREDEN_DEBUG_INFO comment in the
root CMakeLists.txt; the thin-archive rationale already lives in
cmake/ir_make_rules_override.cmake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:amending-mac-pool-7 labels Nov 4, 2026
@jakildev

jakildev commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

Addressed feedback (head 0c543821e):

  • docs/agents/BUILD.md — cut the debug-info material to a two-line gdb pointer (-g1 in fleet build dirs, bt keeps file:line but drops locals, reconfigure with -DIRREDEN_DEBUG_INFO=FULL). The file goes from 426 to 410 lines, net +3 over master's 407. That is +10 against the 400 budget, inside the warning band. python3 scripts/lint_instruction_size.py --against origin/master now exits 0; BUILD.md shows as a ::warning, not an error. No other open PR touches BUILD.md.
  • Moved the dropped rationale to where it belongs. The compressed-DWARF dead ends (-gz, ld/objcopy --compress-debug-sections on PE) now sit in the IRREDEN_DEBUG_INFO comment in the root CMakeLists.txt. The thin-archive explanation was already in cmake/ir_make_rules_override.cmake.
  • Checks on macOS: fleet-build --target IRShapeDebug passed (re-ran configure with the edited CMakeLists.txt), and scripts/light-verify.py --if-changed reported all checks PASS.

— worker (pool-7)

@jakildev jakildev removed the fleet:changes-made Agent addressed human feedback — ready for human re-review label Nov 4, 2026

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review — build: shrink windows-debug build dirs (thin archives, -g1 fleet, shallow deps)

Verdict: approve

Prior-review resolution

  • ✅ docs/agents/BUILD.md:253 — the instruction-size ratchet failure is fixed at 0c543821e. The amended file is 410 lines against the 400-line budget, within the permitted 10-line warning band; python3 scripts/lint_instruction_size.py --against origin/master exits 0 and the current-head instruction-size check passes.

Delta review

  • The post-review delta is limited to docs/agents/BUILD.md and the root CMakeLists.txt: the operational gdb guidance remains in the build reference, while the MinGW compressed-DWARF rationale moved beside the IRREDEN_DEBUG_INFO implementation. No unrelated executable-code change was introduced.
  • git diff --check origin/master...HEAD exits 0.
  • Current-head changes, closes-lint, comment-refs, format-check, header-checks, instruction-size, no-plan-files, python-lint, and whitespace checks pass. linux-build, fleet-tests, and perf-gate are still pending and are not claimed as green here.

No blockers, needs-fix findings, or amend-worthy nits remain in the reviewed delta.

🤖 Reviewed by Codex GPT-5 (review-pr skill; opus-class final pass)

Opus recheck not required (reviewed at opus class).

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge fleet:needs-macos-smoke PR needs macos-debug build + smoke-run validation and removed fleet:reviewing-mac-pool-3 labels Nov 4, 2026
@jakildev jakildev added fleet:verified-macos Cross-host smoke passed on macos-debug and removed fleet:needs-macos-smoke PR needs macos-debug build + smoke-run validation labels Nov 4, 2026
@jakildev

jakildev commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

Cross-host smoke OK on macos (fresh checkout + IRShapeDebug --auto-screenshot 10 — build clean, exit 0, no log warnings).

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-epyc-7763-64-unknown

perf comparison: a39c8ac → 2eb37cf-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-7763-64-unknown/a39c8ac258120f5ba954bc0d9e976fa3278dd6a7
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/2eb37cff4-ci

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.37 vs baseline 103.95 (load_factor 0.99×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a39c8ac25 (branch tip); master 45cf005a8, finished 2026-11-03T04:41:55Z, 1.5 d before the head run, ref_ms 103.95
  • weighting: raw (class-matched capture; load_factor 0.99×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 45cf005a8 and merge base 4e8e10656 (3 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.788 → 0.788 (+0.0pp) 156630 → 156630 262144 → 262144 50080 → 50080 (1.000×)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.990 → 0.990 (+0.0pp) 255592 → 255592 262144 → 262144 3862 → 3862 (1.000×)

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 497.04 → 490.51 (-1.3%) 1736.72 → 1803.89 (+3.9%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1279.98 → 1276.60 (-0.3%) 2588.51 → 2538.51 (-1.9%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 661.44 → 657.86 (-0.5%) 12290.31 → 12318.08 (+0.2%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1736.57 → 1732.07 (-0.3%) 3028.88 → 2988.73 (-1.3%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 66.99→66.09 66.51→65.42 58.93→58.56 0.96→1.27 ⚠ 54.97→54.36 5.75→5.57 — 0.00→0.00 2.81→2.71 15.21→15.02 11.94→11.87 23.11→22.63 3.85→3.67 1.27→1.24 0.19→0.18 ↓ — 7.98→7.82
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 109.11→109.47 416.71→417.48 261.71→262.04 4.04→4.01 233.24→233.09 5.17→5.03 — 0.00→0.00 2.41→2.32 27.66→27.81 10.37→10.39 19.26→19.38 8.34→8.03 1.47→1.50 0.17→0.16 ↓ — 7.44→7.43
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 60.26→59.56 81.24→81.63 66.07→66.59 13.15→12.86 47.97→47.83 8.60→8.50 1.12→1.12 0.00→0.00 0.87→0.92 62.83→61.01 10.65→10.44 56.24→55.74 8.01→7.87 1.81→1.79 0.17→0.16 ↓ 0.00→0.00 9.00→8.90
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 120.51→118.94 536.65→533.89 424.94→426.49 6.35→6.38 366.04→369.17 5.63→5.79 1.17→1.11 0.00→0.00 0.75→0.75 24.64→24.62 10.46→10.47 19.42→19.13 6.77→6.47 1.59→1.44 ↓ 0.17→0.16 0.00→0.00 7.43→7.38

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 256.310 → 253.736 (-1.0%)
RENDER ComputeLightVolume 34.529 → 33.999 (-1.5%)
RENDER CanvasToFramebuffer 17.421 → 17.085 (-1.9%)
RENDER BakeSunShadowMap 10.231 → 9.967 (-2.6%)
RENDER ComputeSunShadow 7.654 → 7.648 (-0.1%)
UPDATE PropagateTransform 4.943 → 5.204 (+5.3%)
UPDATE FogRevealEval 4.273 → 4.214 (-1.4%)
RENDER ComputeVoxelAO 4.086 → 3.983 (-2.5%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1027.979 → 1028.855 (+0.1%)
RENDER ComputeLightVolume 29.161 → 29.316 (+0.5%)
RENDER ComputeSunShadow 21.416 → 21.445 (+0.1%)
RENDER CanvasToFramebuffer 16.262 → 15.968 (-1.8%)
RENDER ComputeVoxelAO 9.306 → 9.164 (-1.5%)
RENDER BakeSunShadowMap 8.616 → 8.638 (+0.3%)
RENDER LightingToTrixel 8.543 → 8.231 (-3.7%)
UPDATE PropagateTransform 4.472 → 4.475 (+0.1%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 290.147 → 293.612 (+1.2%)
RENDER ComputeSunShadow 55.651 → 53.868 (-3.2%)
RENDER LightingToTrixel 35.503 → 34.666 (-2.4%)
RENDER ComputeLightVolume 32.468 → 32.614 (+0.4%)
RENDER BakeSunShadowMap 22.592 → 22.302 (-1.3%)
RENDER CanvasToFramebuffer 17.400 → 17.383 (-0.1%)
RENDER FogToTrixel 7.108 → 6.994 (-1.6%)
UPDATE PropagateTransform 6.358 → 6.133 (-3.5%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1459.634 → 1459.920 (+0.0%)
RENDER ComputeLightVolume 29.423 → 29.193 (-0.8%)
RENDER ComputeSunShadow 18.270 → 18.110 (-0.9%)
RENDER CanvasToFramebuffer 16.184 → 16.076 (-0.7%)
RENDER BakeSunShadowMap 8.842 → 8.870 (+0.3%)
RENDER ComputeVoxelAO 7.740 → 7.795 (+0.7%)
RENDER LightingToTrixel 6.894 → 6.647 (-3.6%)
UPDATE PropagateTransform 6.141 → 6.256 (+1.9%)

@jakildev
jakildev merged commit b79eee3 into master Nov 5, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:approved Fleet reviewer approved — ready for human merge fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-windows PR was opened from a Windows (MSYS2) host fleet:verified-macos Cross-host smoke passed on macos-debug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant