Skip to content

editor: saved dock layouts and Option shortcut hints - #4903

Merged
jakildev merged 3 commits into
codex/editor-shape-placementfrom
codex/editor-layout-shortcuts
Nov 10, 2026
Merged

jakildev merged 3 commits into
codex/editor-shape-placementfrom
codex/editor-layout-shortcuts

Conversation

@jakildev

@jakildev jakildev commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add backtick Help, bordered Option/Alt shortcut keycaps and tool shortcuts 1–7. Hints resolve the registered command binding.
  • Add movable panel titles, floating placement, left/right rail snapping and reordering, scrollable rails and Reset Layout. Save layout preferences separately from authored documents and restore them on launch.
  • Use live widget geometry for pointer ownership. Shared camera controls accept a creation-specific gesture-start predicate, covering Alt orbit, Space pan and middle-button navigation over UI.
  • Group Compare LODs with its panel and preserve Shapes tool state while its controls are scrolled out of view.
  • Track the shared searchable Actions system, Lua/config defaults and persistent runtime keymap overrides separately in Commands: searchable actions and persistent runtime keybindings for creations #4897. The engine foundation is merged in command: add searchable actions with persistent runtime keybindings #4907; editor adoption is tracked by editor: adopt actions, the actions window and persistent keymaps #4908. Current hints cover registered shortcuts, with an explicit legend for controls awaiting assignment support.

Original implementation validation

  • Build IRVoxelEditor and IrredenEngineTest with the macOS Debug preset.
  • Pass 200 focused editor, command, hotkey and camera tests, including new gesture-predicate forwarding coverage.
  • Pass 244 native assertions across workspace_controls, workspace_restore, test_dock_rails, shapes_workflow, region_tools, material_tools, camera_gestures, viewport_scroll, document_workflow, part_sizes, sculpt_workflow and workarea_focus. All final layout audit summaries report zero findings and all processes exit cleanly.
  • Verify Help ownership, text-entry capture, readable disjoint badges, 30°/67° camera behavior, moved child controls, exact saved-pose reload, fresh-process persistence, snap/reset and editing the released canvas area.
  • Verify both side rails scroll without changing zoom, clipped titles avoid controls, and Escape closes a scrolled-away Shapes panel while the editor stays open.
  • Inspect native screenshots and verify header conventions, comment references, formatting and whitespace checks.
  • Copy the validated Debug executable into the primary checkout’s build, confirm identical SHA-256 hashes and smoke-test ordinary startup.

Acceptance evidence

Behavior Check Observed
Menu, bindings and live UI ownership workspace_controls 19 assertions pass
Persistence across a fresh process workspace_restore 2 assertions pass, saved panel and swatch positions restored
Scrolled panels and camera isolation neutral module test_dock_rails with isolated IR_EDITOR_LAYOUT_PATH 7 assertions pass, zero layout findings
Editing regression coverage nine existing native workflows 216 assertions pass
Engine and editor contracts focused IrredenEngineTest filter 200 tests pass

Screenshots

Same neutral module scene at startup, followed by the scroll and interaction checks.

Previous layout Docked panels
Previous layout Docked panels

Option shortcut hints

Floating palette

Scrolled rail controls

Authored with Codex.

Stack validation — 2026-11-06

Replayed the owned editor commits onto merged master f7b1dbfa2, preserving the four-PR chain. Range-diff inspection found no lost runtime hunks. Moved detailed validation/session contracts into docs/design/editor-validation.md to fix instruction-size CI. Corrected the newly inherited document-transition fixture's stale File/Discard click centers and made composite Save As repeatable.

Validated the combined stack at 683a6017c8a7be6964c5872282cba5d982c839a3 on macOS/Metal:

  • IRVoxelEditor and IrredenEngineTest builds pass.
  • 273 focused editor, camera, input, command, keymap and Lua tests pass.
  • 265 native assertions pass across viewport_scroll (15), material_tools (12), shapes_workflow (22), region_tools (35), workspace_controls (19), workspace_restore (2), camera_gestures (44), screen_alignment (70), document_workflow (28), motion_preview (11), and test_dock_rails (7); zero layout findings and clean shutdowns.
  • Independent PNG alignment grading passes all seven poses, including 30 and 67 degrees: no preview leakage through solids, no grid over solid interiors, exact floor-to-cell silhouettes. Its 18 unit controls pass.
  • Header conventions, instruction-size, comment references, changed fixture formatting and whitespace pass.

Follow-up integration — 2026-11-07

The two parked follow-ups are reconciled in dependency order: #4903 → #4908 → #4918. #4908 maps Actions to the current tools and integer fields, isolates modal input, and keeps remapped badges synchronized. #4918 preserves the Shapes/dock UI gate and diagnoses replay clicks swallowed by UI.

Current evidence: 273 focused unit tests pass. The combined native registry covers 75 cases and 1,524 assertions; all 73 pre-existing case verdicts and failure sets are unchanged, and both new click-occlusion controls behave as expected. Six baseline failures remain: fill_ghost, click_orbit, mode_preview, component_field_key (layout findings), text_input_command_capture, and test_recipe_reapply. These are disclosed with exact results in #4918; this is not an all-green editor suite. Per-case comparison. The overlap gate is overlap with clean trial merges and no blockers. This PR is ready for review in stack order; no merge or fleet approval is claimed.

Overlap gate

fleet-pr-overlap --self-pr 4903: VERDICT: overlap (exit 1). All shared-path trial merges are clean; no blocking or base-conflict rows.

Upstream rows: #4893 (3 paths), #4895 (6 paths), #4896 (5 paths).

#4908, #4918: identical clean grades on 22 shared paths

The gate reports the following rows for #4908; the same paths are graded clean for #4918.

#4908 creations/editors/voxel_editor/CLAUDE.md clean
#4908 creations/editors/voxel_editor/document_panel.hpp clean
#4908 creations/editors/voxel_editor/editor_docks.hpp clean
#4908 creations/editors/voxel_editor/editor_help_guard.hpp clean
#4908 creations/editors/voxel_editor/editor_shortcut_hints.hpp clean
#4908 creations/editors/voxel_editor/editor_widget_geometry.hpp clean
#4908 creations/editors/voxel_editor/hierarchy_panel.hpp clean
#4908 creations/editors/voxel_editor/main.cpp clean
#4908 creations/editors/voxel_editor/palette_panel.hpp clean
#4908 creations/editors/voxel_editor/sculpt_panel.hpp clean
#4908 creations/editors/voxel_editor/sessions.hpp clean
#4908 creations/editors/voxel_editor/shapes_panel.hpp clean
#4908 creations/editors/voxel_editor/test/module/init.lua clean
#4908 creations/editors/voxel_editor/workspace_controls_workflow.hpp clean
#4908 engine/prefabs/irreden/render/camera_controls.hpp clean
#4908 engine/prefabs/irreden/render/systems/system_camera_key_drag_pan.hpp clean
#4908 engine/prefabs/irreden/render/systems/system_camera_key_drag_rotate.hpp clean
#4908 engine/prefabs/irreden/render/systems/system_camera_mouse_pan.hpp clean
#4908 engine/prefabs/irreden/render/systems/system_camera_mouse_rotate.hpp clean
#4908 engine/prefabs/irreden/render/systems/system_widget_render_hints.hpp clean
#4908 engine/prefabs/irreden/render/widget_keycap.hpp clean
#4908 test/render/camera_mouse_rotate_reset_test.cpp clean

@jakildev jakildev added fleet:wip Work in progress — not ready for review fleet:author-codex Implementation last authored by Codex; route review to Claude labels Nov 5, 2026
@jakildev
jakildev added this pull request to stack #4870 November 5, 2026 03:44
@jakildev jakildev added the fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: 0dd14fe → 2a30ce2-ci

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

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.37 vs baseline 103.59 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@0dd14fe5f (branch tip); master b79eee32d, finished 2026-11-05T03:09:47Z, 0.0 d before the head run, ref_ms 103.59
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base 478216417 is not on refs/remotes/origin/master, so the run measured the base branch's unmerged changes

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 499.40 → 476.40 (-4.6%) 1760.90 → 1884.77 (+7.0%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1287.90 → 1278.26 (-0.7%) 2594.09 → 2592.57 (-0.1%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 659.37 → 657.63 (-0.3%) 12389.98 → 12674.76 (+2.3%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1740.47 → 1730.79 (-0.6%) 3053.93 → 3035.13 (-0.6%)

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 68.13→63.95 ↓ 66.88→63.88 59.05→56.90 0.98→1.27 ⚠ 55.28→52.30 ↓ 5.76→5.42 ↓ — 0.00→0.00 2.85→2.58 ↓ 15.82→14.19 ↓ 11.85→11.18 ↓ 22.81→21.43 ↓ 4.05→3.47 ↓ 1.30→1.19 ↓ 0.20→0.18 ↓ — 8.07→7.63 ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 111.21→109.03 415.85→416.46 263.75→261.40 4.06→4.06 234.79→233.50 5.07→5.07 — 0.00→0.00 2.43→2.34 28.85→28.21 10.35→10.15 19.23→19.28 8.56→8.25 1.74→1.64 ↓ 0.19→0.17 ↓ — 7.57→7.49
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 58.83→59.61 81.20→81.55 66.44→65.44 12.84→12.79 47.94→47.45 8.96→8.92 1.13→1.10 0.00→0.00 0.91→0.87 62.49→61.03 10.48→10.40 57.33→55.81 7.95→7.95 1.81→1.79 0.17→0.17 0.00→0.00 9.05→9.03
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 119.72→119.45 539.05→536.57 427.26→425.51 6.38→6.31 366.88→366.11 5.73→5.67 1.14→1.09 0.00→0.00 0.78→0.70 ↓ 25.19→24.93 10.49→10.30 19.40→19.05 6.55→6.22 ↓ 1.57→1.38 ↓ 0.18→0.17 ↓ 0.00→0.00 7.46→7.31

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 258.205 → 246.514 (-4.5%)
RENDER ComputeLightVolume 34.149 → 32.168 (-5.8%) ↓
RENDER CanvasToFramebuffer 17.800 → 16.604 (-6.7%) ↓
RENDER BakeSunShadowMap 10.418 → 9.507 (-8.7%) ↓
RENDER ComputeSunShadow 8.107 → 7.201 (-11.2%) ↓
UPDATE PropagateTransform 4.805 → 4.826 (+0.4%)
UPDATE FogRevealEval 4.286 → 4.192 (-2.2%)
RENDER ComputeVoxelAO 4.093 → 3.793 (-7.3%) ↓

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1032.022 → 1027.273 (-0.5%)
RENDER ComputeLightVolume 29.065 → 28.991 (-0.3%)
RENDER ComputeSunShadow 22.141 → 21.684 (-2.1%)
RENDER CanvasToFramebuffer 16.550 → 16.138 (-2.5%)
RENDER ComputeVoxelAO 9.643 → 9.276 (-3.8%)
RENDER BakeSunShadowMap 9.093 → 8.816 (-3.0%)
RENDER LightingToTrixel 8.765 → 8.448 (-3.6%)
UPDATE PropagateTransform 4.763 → 4.742 (-0.4%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 289.372 → 296.707 (+2.5%)
RENDER ComputeSunShadow 55.321 → 53.942 (-2.5%)
RENDER LightingToTrixel 36.045 → 35.099 (-2.6%)
RENDER ComputeLightVolume 32.823 → 32.197 (-1.9%)
RENDER BakeSunShadowMap 22.611 → 22.317 (-1.3%)
RENDER CanvasToFramebuffer 17.555 → 17.182 (-2.1%)
RENDER FogToTrixel 7.071 → 7.075 (+0.1%)
UPDATE PropagateTransform 6.047 → 6.152 (+1.7%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1464.334 → 1459.101 (-0.4%)
RENDER ComputeLightVolume 29.522 → 28.940 (-2.0%)
RENDER ComputeSunShadow 18.700 → 18.352 (-1.9%)
RENDER CanvasToFramebuffer 16.419 → 16.270 (-0.9%)
RENDER BakeSunShadowMap 8.826 → 8.936 (+1.2%)
RENDER ComputeVoxelAO 7.817 → 7.550 (-3.4%)
RENDER LightingToTrixel 6.778 → 6.390 (-5.7%) ↓
UPDATE PropagateTransform 6.172 → 6.340 (+2.7%)

@jakildev

jakildev commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Rebased onto the rewritten parent: the stack below was replayed onto master after #4882 merged, so this layer's owned commits (editor: add saved dock layouts and shortcut hints) were replayed with git rebase --onto <new parent head> <old parent head>; the inherited pre-rework commits are gone and the diff against the parent is the original PR-owned scope. The rebase applied cleanly. Evidence moved off the branch to media commit 6d2aca28dfb7790776cda787ba6ece43f1535713 and the body's image links repointed, so the no-plan-files check passes. fleet-build --target IRVoxelEditor is clean on windows-debug. The reviewer hold stays until the upstream is approved. — opus-architect

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: a3d54c9 → 67a92a4-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-7763-64-unknown/a3d54c95a1d9a170f6543be390cf17c7aedebf10
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/67a92a4ae-ci

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.65 vs baseline 104.10 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a3d54c95a (branch tip); master 6062102df, finished 2026-11-06T05:56:56Z, 0.1 d before the head run, ref_ms 104.10
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base 625a0b92c is not on refs/remotes/origin/master, so the run measured the base branch's unmerged changes

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 479.15 → 491.81 (+2.6%) 1895.72 → 1906.18 (+0.6%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1272.73 → 1276.24 (+0.3%) 2588.44 → 2623.84 (+1.4%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 652.45 → 660.71 (+1.3%) 12258.22 → 12671.32 (+3.4%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1728.99 → 1730.91 (+0.1%) 2992.62 → 3109.58 (+3.9%)

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.10→66.64 64.35→66.52 57.32→58.61 1.29→1.30 52.90→54.46 5.30→5.67 — 0.00→0.00 2.62→2.79 14.77→15.47 11.41→11.74 21.67→22.78 3.73→3.77 1.22→1.31 0.19→0.18 — 7.87→7.93
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 110.04→109.83 415.41→415.77 261.63→262.09 4.03→4.04 232.04→232.54 4.80→5.02 — 0.00→0.00 2.31→2.38 28.02→28.15 10.25→10.28 19.56→19.24 8.17→8.21 1.49→1.40 ↓ 0.17→0.17 — 7.39→7.39
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 59.19→60.16 80.80→81.81 66.25→66.41 12.87→12.82 48.01→48.11 8.35→8.79 1.10→1.13 0.00→0.00 0.89→0.89 62.51→62.83 10.49→10.46 57.15→56.85 7.95→7.91 1.84→1.82 0.17→0.17 0.00→0.00 8.93→8.96
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 119.49→120.12 533.16→534.97 426.57→426.77 6.37→6.33 367.27→366.04 5.63→5.75 1.10→1.14 0.00→0.00 0.73→0.75 25.17→24.93 10.38→10.39 19.24→19.14 6.43→6.57 1.46→1.64 ⚠ 0.17→0.17 0.00→0.00 7.39→7.44

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 247.886 → 255.460 (+3.1%)
RENDER ComputeLightVolume 32.632 → 34.104 (+4.5%)
RENDER CanvasToFramebuffer 17.085 → 17.407 (+1.9%)
RENDER BakeSunShadowMap 9.662 → 10.323 (+6.8%)
RENDER ComputeSunShadow 7.624 → 7.880 (+3.4%)
UPDATE PropagateTransform 4.519 → 4.711 (+4.2%)
UPDATE FogRevealEval 4.190 → 4.244 (+1.3%)
RENDER ComputeVoxelAO 3.904 → 4.132 (+5.8%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1025.715 → 1026.990 (+0.1%)
RENDER ComputeLightVolume 29.338 → 29.043 (-1.0%)
RENDER ComputeSunShadow 21.864 → 21.867 (+0.0%)
RENDER CanvasToFramebuffer 15.908 → 16.086 (+1.1%)
RENDER ComputeVoxelAO 9.249 → 9.408 (+1.7%)
RENDER BakeSunShadowMap 8.417 → 8.655 (+2.8%)
RENDER LightingToTrixel 8.371 → 8.418 (+0.6%)
UPDATE PropagateTransform 4.405 → 4.521 (+2.6%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 288.688 → 296.469 (+2.7%)
RENDER ComputeSunShadow 55.366 → 55.591 (+0.4%)
RENDER LightingToTrixel 36.271 → 35.857 (-1.1%)
RENDER ComputeLightVolume 32.424 → 32.569 (+0.4%)
RENDER BakeSunShadowMap 22.377 → 22.513 (+0.6%)
RENDER CanvasToFramebuffer 17.441 → 17.439 (-0.0%)
RENDER FogToTrixel 7.107 → 7.064 (-0.6%)
UPDATE PropagateTransform 6.121 → 6.127 (+0.1%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1457.395 → 1459.300 (+0.1%)
RENDER ComputeLightVolume 29.173 → 29.092 (-0.3%)
RENDER ComputeSunShadow 18.725 → 18.365 (-1.9%)
RENDER CanvasToFramebuffer 16.205 → 16.300 (+0.6%)
RENDER BakeSunShadowMap 8.811 → 8.883 (+0.8%)
RENDER ComputeVoxelAO 8.092 → 7.713 (-4.7%)
RENDER LightingToTrixel 6.600 → 6.747 (+2.2%)
UPDATE PropagateTransform 6.104 → 6.099 (-0.1%)

@jakildev
jakildev force-pushed the codex/editor-layout-shortcuts branch 2 times, most recently from 875928b to 683a601 Compare November 6, 2026 17:51
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: a3d54c9 → a33ebae-ci

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

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.71 vs baseline 104.10 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a3d54c95a (branch tip); master 6062102df, finished 2026-11-06T05:56:56Z, 0.5 d before the head run, ref_ms 104.10
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base bda11cebb is not on refs/remotes/origin/master, so the run measured the base branch's unmerged changes

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 479.15 → 496.28 (+3.6%) 1895.72 → 1788.61 (-5.7%) ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1272.73 → 1283.97 (+0.9%) 2588.44 → 2632.90 (+1.7%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 652.45 → 669.29 (+2.6%) 12258.22 → 12838.51 (+4.7%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1728.99 → 1735.83 (+0.4%) 2992.62 → 3037.54 (+1.5%)

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.10→67.27 64.35→66.45 57.32→59.21 1.29→0.96 ↓ 52.90→55.31 5.30→5.49 — 0.00→0.00 2.62→2.75 14.77→15.53 11.41→12.02 21.67→23.04 3.73→3.77 1.22→1.28 0.19→0.19 — 7.87→8.00
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 110.04→110.23 415.41→417.32 261.63→262.06 4.03→4.12 232.04→237.59 4.80→5.21 — 0.00→0.00 2.31→2.40 28.02→28.25 10.25→10.21 19.56→19.61 8.17→8.15 1.49→1.59 0.17→0.18 — 7.39→7.47
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 59.19→59.95 80.80→81.76 66.25→66.50 12.87→13.22 48.01→48.32 8.35→9.12 1.10→1.11 0.00→0.00 0.89→1.01 ⚠ 62.51→65.10 10.49→10.70 57.15→58.29 7.95→8.07 1.84→1.82 0.17→0.20 ⚠ 0.00→0.00 8.93→9.20
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 119.49→119.78 533.16→533.87 426.57→428.08 6.37→6.38 367.27→366.73 5.63→5.70 1.10→1.12 0.00→0.00 0.73→0.80 25.17→25.80 10.38→10.32 19.24→19.50 6.43→6.66 1.46→1.65 ⚠ 0.17→0.19 ⚠ 0.00→0.00 7.39→7.64

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 247.886 → 256.870 (+3.6%)
RENDER ComputeLightVolume 32.632 → 34.538 (+5.8%)
RENDER CanvasToFramebuffer 17.085 → 17.565 (+2.8%)
RENDER BakeSunShadowMap 9.662 → 10.328 (+6.9%)
RENDER ComputeSunShadow 7.624 → 7.821 (+2.6%)
UPDATE PropagateTransform 4.519 → 4.991 (+10.4%) ⚠
UPDATE FogRevealEval 4.190 → 4.253 (+1.5%)
RENDER ComputeVoxelAO 3.904 → 4.019 (+2.9%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1025.715 → 1034.064 (+0.8%)
RENDER ComputeLightVolume 29.338 → 29.330 (-0.0%)
RENDER ComputeSunShadow 21.864 → 21.829 (-0.2%)
RENDER CanvasToFramebuffer 15.908 → 16.103 (+1.2%)
RENDER ComputeVoxelAO 9.249 → 9.589 (+3.7%)
RENDER BakeSunShadowMap 8.417 → 8.803 (+4.6%)
RENDER LightingToTrixel 8.371 → 8.351 (-0.2%)
UPDATE PropagateTransform 4.405 → 4.433 (+0.6%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 288.688 → 295.765 (+2.5%)
RENDER ComputeSunShadow 55.366 → 57.711 (+4.2%)
RENDER LightingToTrixel 36.271 → 37.083 (+2.2%)
RENDER ComputeLightVolume 32.424 → 32.953 (+1.6%)
RENDER BakeSunShadowMap 22.377 → 23.083 (+3.2%)
RENDER CanvasToFramebuffer 17.441 → 18.291 (+4.9%)
RENDER FogToTrixel 7.107 → 7.177 (+1.0%)
UPDATE PropagateTransform 6.121 → 6.229 (+1.8%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1457.395 → 1460.111 (+0.2%)
RENDER ComputeLightVolume 29.173 → 29.364 (+0.7%)
RENDER ComputeSunShadow 18.725 → 19.190 (+2.5%)
RENDER CanvasToFramebuffer 16.205 → 16.638 (+2.7%)
RENDER BakeSunShadowMap 8.811 → 8.987 (+2.0%)
RENDER ComputeVoxelAO 8.092 → 7.608 (-6.0%) ↓
RENDER LightingToTrixel 6.600 → 6.860 (+3.9%)
UPDATE PropagateTransform 6.104 → 6.156 (+0.9%)

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-epyc-9v45-96-unknown

perf comparison: 2f0f893 → a33ebae-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-9v45-96-unknown/2f0f8931f99da55c09283704664408698e42e36e
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/a33ebae1b-ci

host calibration

  • host: linux-x86_64-epyc-9v45-96-unknown (matches baseline)
  • ref_ms: head 61.18 vs baseline 60.31 (load_factor 1.01×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@2f0f8931f (branch tip); master 0554677a5, finished 2026-11-06T17:46:05Z, 0.0 d before the head run, ref_ms 60.31
  • weighting: raw (class-matched capture; load_factor 1.01×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base bda11cebb is not on refs/remotes/origin/master, so the run measured the base branch's unmerged changes

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 302.55 → 298.56 (-1.3%) 1036.86 → 919.46 (-11.3%) ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 749.95 → 739.11 (-1.4%) 1458.07 → 1386.19 (-4.9%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 387.07 → 392.06 (+1.3%) 5539.04 → 5676.36 (+2.5%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1005.10 → 995.77 (-0.9%) 1711.76 → 1747.83 (+2.1%)

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 39.80→39.69 38.89→38.34 34.45→34.18 0.82→0.58 ↓ 33.85→33.22 4.58→4.37 — 0.00→0.00 2.17→2.04 ↓ 9.61→9.15 12.41→11.22 ↓ 11.63→11.64 2.64→2.39 ↓ 0.90→0.82 ↓ 0.14→0.12 ↓ — 5.37→4.90 ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 75.61→73.97 231.39→229.35 147.78→147.35 2.29→2.25 132.57→130.93 4.39→4.18 — 0.00→0.00 1.86→1.85 17.46→16.73 11.89→11.18 ↓ 10.18→10.21 5.38→5.09 ↓ 1.06→0.86 ↓ 0.14→0.11 ↓ — 5.15→4.77 ↓
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 36.15→36.65 45.86→47.14 37.92→38.90 5.12→5.69 ⚠ 30.29→30.84 8.59→6.03 ↓ 0.72→0.70 0.00→0.00 0.62→0.66 28.21→29.88 11.94→11.91 24.48→25.43 4.10→4.18 1.18→1.20 0.12→0.12 0.00→0.00 5.71→5.86
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 78.50→77.64 288.98→287.33 241.25→239.39 3.72→3.80 208.81→207.94 4.97→4.70 ↓ 0.70→0.67 0.00→0.00 0.51→0.48 15.31→14.65 11.43→11.04 10.14→10.07 4.09→3.99 0.96→0.93 0.12→0.11 0.00→0.00 4.71→4.61

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 155.605 → 153.405 (-1.4%)
RENDER ComputeLightVolume 23.730 → 22.566 (-4.9%)
RENDER CanvasToFramebuffer 11.479 → 11.358 (-1.1%)
RENDER BakeSunShadowMap 6.753 → 6.641 (-1.7%)
RENDER ComputeSunShadow 4.924 → 4.469 (-9.2%) ↓
UPDATE PropagateTransform 2.752 → 2.752 (+0.0%)
UPDATE FogRevealEval 2.349 → 2.551 (+8.6%)
RENDER LightingToTrixel 2.735 → 2.496 (-8.7%) ↓

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 594.720 → 588.888 (-1.0%)
RENDER ComputeLightVolume 21.725 → 21.082 (-3.0%)
RENDER ComputeSunShadow 13.222 → 12.880 (-2.6%)
RENDER CanvasToFramebuffer 11.138 → 10.210 (-8.3%) ↓
RENDER BakeSunShadowMap 6.059 → 5.675 (-6.3%) ↓
RENDER LightingToTrixel 5.535 → 5.227 (-5.6%) ↓
RENDER ComputeVoxelAO 4.965 → 4.559 (-8.2%) ↓
UPDATE PropagateTransform 2.529 → 2.562 (+1.3%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 174.134 → 175.706 (+0.9%)
RENDER ComputeSunShadow 23.916 → 25.442 (+6.4%)
RENDER ComputeLightVolume 23.033 → 23.434 (+1.7%)
RENDER LightingToTrixel 14.300 → 14.845 (+3.8%)
RENDER CanvasToFramebuffer 11.948 → 12.021 (+0.6%)
RENDER BakeSunShadowMap 8.083 → 8.438 (+4.4%)
UPDATE PropagateTransform 3.815 → 3.907 (+2.4%)
RENDER FogToTrixel 3.579 → 3.641 (+1.7%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 827.933 → 822.458 (-0.7%)
RENDER ComputeLightVolume 21.308 → 20.808 (-2.3%)
RENDER ComputeSunShadow 11.119 → 10.624 (-4.5%)
RENDER CanvasToFramebuffer 10.617 → 10.240 (-3.6%)
RENDER BakeSunShadowMap 6.161 → 5.912 (-4.0%)
RENDER LightingToTrixel 4.223 → 4.136 (-2.1%)
RENDER ComputeVoxelAO 3.877 → 3.789 (-2.3%)
UPDATE PropagateTransform 3.787 → 3.724 (-1.7%)

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-epyc-9v74-80-unknown

perf comparison: bb78d69 → 4643e45-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-9v74-80-unknown/bb78d69e2a267618fec4ee6c5007109ab9afff5e
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/4643e45b6-ci

host calibration

  • host: linux-x86_64-epyc-9v74-80-unknown (matches baseline)
  • ref_ms: head 114.59 vs baseline 116.24 (load_factor 0.99×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@bb78d69e2 (class-matched history capture, not the branch tip); master 468c8e57f, finished 2026-10-28T02:06:43Z, 9.7 d before the head run, ref_ms 116.24
  • weighting: raw (class-matched capture; load_factor 0.99×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base f48c05fa8 is not on refs/remotes/origin/master, so the run measured the base branch's unmerged changes

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 479.69 → 503.87 (+5.0%) 1653.38 → 1905.41 (+15.2%) ⚠
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1272.08 → 1196.28 (-6.0% raw, -4.6% scaled) 2518.74 → 2431.65 (-3.5%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 630.81 → 633.34 (+0.4%) 10984.86 → 9611.76 (-12.5%) ↓
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1729.33 → 1611.70 (-6.8%) ↓ 2941.51 → 2890.64 (-1.7%)

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.49→59.67 ↓ 68.13→60.96 ↓ 60.43→54.78 ↓ 1.03→1.39 ⚠ 57.58→52.26 ↓ 5.69→6.09 — 0.00→0.00 0.27→2.90 ⚠ 6.23→15.46 ⚠ 15.56→22.75 ⚠ 22.56→19.69 ↓ 3.69→4.28 ⚠ 1.37→1.49 0.20→0.24 ⚠ — 8.19→8.52
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 116.70→108.97 ↓ 427.16→372.85 ↓ 261.68→228.79 ↓ 4.03→3.63 ↓ 230.80→206.51 ↓ 4.70→5.11 — 0.00→0.00 0.25→2.56 ⚠ 16.37→28.07 ⚠ 12.94→20.06 ⚠ 19.12→17.04 ↓ 7.53→8.54 ⚠ 1.32→1.82 ⚠ 0.18→0.22 ⚠ — 7.67→7.93
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 57.68→53.75 ↓ 81.48→74.00 ↓ 66.70→61.93 ↓ 12.45→10.02 ↓ 51.12→48.13 ↓ 8.16→8.24 0.92→0.93 0.00→0.00 0.88→1.14 ⚠ 52.44→52.13 14.24→20.77 ⚠ 53.74→42.65 ↓ 7.71→6.88 ↓ 1.88→1.80 0.18→0.23 ⚠ 0.00→0.00 9.20→9.35
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 126.43→118.52 ↓ 546.84→469.56 ↓ 426.25→377.84 ↓ 6.33→5.68 ↓ 363.98→327.98 ↓ 5.26→5.94 ⚠ 0.94→0.91 0.00→0.00 0.69→0.93 ⚠ 12.15→24.17 ⚠ 13.18→21.07 ⚠ 18.81→17.03 ↓ 6.02→7.08 ⚠ 1.35→1.61 ⚠ 0.18→0.21 ⚠ 0.00→0.00 7.68→7.84

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 259.823 → 239.445 (-7.8%) ↓
RENDER ComputeLightVolume 37.661 → 41.885 (+11.2%) ⚠
RENDER CanvasToFramebuffer 18.125 → 19.766 (+9.1%)
RENDER BakeSunShadowMap 0.238 → 9.945 (+4078.6%) ⚠
RENDER ComputeSunShadow 6.157 → 8.269 (+34.3%) ⚠
UPDATE PropagateTransform 4.992 → 4.896 (-1.9%)
UPDATE FogRevealEval 3.808 → 4.519 (+18.7%) ⚠
RENDER LightingToTrixel 3.820 → 4.481 (+17.3%) ⚠

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1043.404 → 926.325 (-11.2%) ↓
RENDER ComputeLightVolume 31.649 → 36.531 (+15.4%) ⚠
RENDER ComputeSunShadow 16.333 → 21.824 (+33.6%) ⚠
RENDER CanvasToFramebuffer 16.630 → 18.510 (+11.3%) ⚠
RENDER LightingToTrixel 7.758 → 8.752 (+12.8%) ⚠
RENDER BakeSunShadowMap 0.236 → 8.696 (+3584.7%) ⚠
RENDER ComputeVoxelAO 9.193 → 7.488 (-18.5%) ↓
UPDATE PropagateTransform 4.765 → 4.773 (+0.2%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 290.184 → 267.760 (-7.7%) ↓
RENDER ComputeSunShadow 51.563 → 45.284 (-12.2%) ↓
RENDER ComputeLightVolume 35.815 → 39.149 (+9.3%)
RENDER LightingToTrixel 33.295 → 25.761 (-22.6%) ↓
RENDER CanvasToFramebuffer 18.265 → 19.781 (+8.3%)
RENDER BakeSunShadowMap 3.645 → 13.009 (+256.9%) ⚠
UPDATE PropagateTransform 6.821 → 6.836 (+0.2%)
RENDER FogToTrixel 6.954 → 5.930 (-14.7%) ↓

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1475.114 → 1307.508 (-11.4%) ↓
RENDER ComputeLightVolume 31.550 → 37.588 (+19.1%) ⚠
RENDER CanvasToFramebuffer 16.579 → 18.623 (+12.3%) ⚠
RENDER ComputeSunShadow 12.076 → 18.003 (+49.1%) ⚠
RENDER BakeSunShadowMap 0.237 → 8.600 (+3528.7%) ⚠
RENDER LightingToTrixel 6.207 → 7.278 (+17.3%) ⚠
UPDATE PropagateTransform 6.704 → 6.792 (+1.3%)
RENDER ComputeVoxelAO 7.600 → 6.286 (-17.3%) ↓

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: a3d54c9 → 4643e45-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-7763-64-unknown/a3d54c95a1d9a170f6543be390cf17c7aedebf10
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/4643e45b6-ci

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.57 vs baseline 104.10 (load_factor 0.99×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a3d54c95a (branch tip); master 6062102df, finished 2026-11-06T05:56:56Z, 0.5 d before the head run, ref_ms 104.10
  • weighting: raw (class-matched capture; load_factor 0.99×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base f48c05fa8 is not on refs/remotes/origin/master, so the run measured the base branch's unmerged changes

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 479.15 → 497.83 (+3.9%) 1895.72 → 1775.40 (-6.3%) ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1272.73 → 1284.78 (+0.9%) 2588.44 → 2586.69 (-0.1%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 652.45 → 682.93 (+4.7%) 12258.22 → 13346.42 (+8.9%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1728.99 → 1737.60 (+0.5%) 2992.62 → 3096.73 (+3.5%)

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.10→67.47 64.35→66.82 57.32→59.32 1.29→0.98 ↓ 52.90→55.67 5.30→5.73 — 0.00→0.00 2.62→2.75 14.77→15.87 11.41→11.98 21.67→22.98 3.73→3.96 1.22→1.34 0.19→0.20 — 7.87→8.12
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 110.04→110.98 415.41→415.22 261.63→262.05 4.03→4.05 232.04→233.68 4.80→5.13 — 0.00→0.00 2.31→2.42 28.02→28.91 10.25→10.68 19.56→19.87 8.17→8.54 1.49→1.73 ⚠ 0.17→0.18 — 7.39→7.54
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 59.19→60.40 80.80→82.74 66.25→67.20 12.87→13.72 48.01→48.31 8.35→9.36 ⚠ 1.10→1.15 0.00→0.00 0.89→1.10 ⚠ 62.51→69.50 ⚠ 10.49→10.52 57.15→60.31 7.95→8.41 1.84→1.88 0.17→0.21 ⚠ 0.00→0.00 8.93→9.36
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 119.49→119.52 533.16→533.55 426.57→427.10 6.37→6.49 367.27→367.02 5.63→5.90 1.10→1.16 0.00→0.00 0.73→0.82 ⚠ 25.17→25.06 10.38→10.35 19.24→19.38 6.43→6.66 1.46→1.71 ⚠ 0.17→0.19 ⚠ 0.00→0.00 7.39→7.64

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 247.886 → 258.045 (+4.1%)
RENDER ComputeLightVolume 32.632 → 34.448 (+5.6%)
RENDER CanvasToFramebuffer 17.085 → 17.870 (+4.6%)
RENDER BakeSunShadowMap 9.662 → 10.411 (+7.8%)
RENDER ComputeSunShadow 7.624 → 8.079 (+6.0%)
UPDATE PropagateTransform 4.519 → 4.833 (+6.9%)
UPDATE FogRevealEval 4.190 → 4.255 (+1.6%)
RENDER LightingToTrixel 3.850 → 4.116 (+6.9%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1025.715 → 1028.760 (+0.3%)
RENDER ComputeLightVolume 29.338 → 30.036 (+2.4%)
RENDER ComputeSunShadow 21.864 → 22.175 (+1.4%)
RENDER CanvasToFramebuffer 15.908 → 16.411 (+3.2%)
RENDER ComputeVoxelAO 9.249 → 9.584 (+3.6%)
RENDER BakeSunShadowMap 8.417 → 9.101 (+8.1%)
RENDER LightingToTrixel 8.371 → 8.751 (+4.5%)
UPDATE PropagateTransform 4.405 → 4.813 (+9.3%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 288.688 → 296.336 (+2.6%)
RENDER ComputeSunShadow 55.366 → 61.882 (+11.8%) ⚠
RENDER LightingToTrixel 36.271 → 39.345 (+8.5%)
RENDER ComputeLightVolume 32.424 → 32.650 (+0.7%)
RENDER BakeSunShadowMap 22.377 → 23.646 (+5.7%)
RENDER CanvasToFramebuffer 17.441 → 18.227 (+4.5%)
RENDER FogToTrixel 7.107 → 7.440 (+4.7%)
UPDATE PropagateTransform 6.121 → 6.061 (-1.0%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1457.395 → 1458.730 (+0.1%)
RENDER ComputeLightVolume 29.173 → 29.256 (+0.3%)
RENDER ComputeSunShadow 18.725 → 18.363 (-1.9%)
RENDER CanvasToFramebuffer 16.205 → 16.667 (+2.9%)
RENDER BakeSunShadowMap 8.811 → 9.068 (+2.9%)
RENDER ComputeVoxelAO 8.092 → 7.942 (-1.9%)
RENDER LightingToTrixel 6.600 → 6.847 (+3.7%)
UPDATE PropagateTransform 6.104 → 6.194 (+1.5%)

@jakildev jakildev removed the fleet:wip Work in progress — not ready for review label Nov 7, 2026
@jakildev
jakildev marked this pull request as ready for review November 7, 2026 19:05
@jakildev jakildev added the fleet:awaiting-upstream-review Stacked PR; reviewer is holding verdict until upstream PR is approved label Nov 8, 2026
@jakildev

jakildev commented Nov 8, 2026

Copy link
Copy Markdown
Owner Author

Holding review: upstream PR #4896 is not yet approved. This stacked PR will be re-evaluated once the upstream lands an approval label.

@jakildev jakildev removed the fleet:awaiting-upstream-review Stacked PR; reviewer is holding verdict until upstream PR is approved label Nov 8, 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 — editor: saved dock layouts, shortcut hints, and live-geometry pointer ownership

Verdict: approve

Stacked on #4896 (cross-author, approved). Reviewing the child diff only (fleet-pr diff 4903) at head 683a6017c; the fleet:awaiting-upstream-review gate is cleared. MERGEABLE/CLEAN, and the full rollup is green on this head (format-check, instruction-size, comment-refs, header-checks, no-plan-files, closes-lint, fleet-tests, linux-build, perf-gate). The perf-gate numbers are noise-level and, per its own note, measured against an unmerged base. The body has no Closes #, so there is no acceptance grading.

What it does. Panels become drag/snap/float groups (EditorDocks) with left/right scrollable rails and an atomic-write editor_layout.cfg, kept separate from authored documents. Backtick/F1 open a help guard that hides and covers all widgets and captures the keyboard. Option/Alt shows keycap hints resolved from the command registry, and tools get number-key commands 1–7. Pointer ownership now reads live C_Widget/C_GuiPosition geometry (widgetContainsCursor) instead of the k*PanelPos constants. On the engine side, the four pointer camera systems gain an optional canStartGesture_ predicate behind Camera::setGestureStartPredicate, so the editor's panels block Alt-orbit, Space-pan and middle-pan starts.

I checked these and found no defects:

  • getComponentOptional returns nullopt for kNullEntity and for dead ids (entity_manager.hpp:519-530). So the unguarded widgetContainsCursor(g_componentsPanel / g_recipesPanel / g_partSizePanel, …) calls are safe when the module UI is absent.
  • EditorDocks::arrange() recurses only after demoting a FLOATING group to LEFT, so the recursion terminates. load() validates the magic, version, side range, coordinate range and unmatched-key count before mutating m_groups, which fits the stage-then-commit rule. save() is write-to-temp then rename, and a failed open is caught by !stream.
  • Every dock path is a no-op when m_path is empty (before/collect/add/update/contains). Scripted sessions and profile runs therefore keep their old layout and hit-test geometry.
  • The predicate is a plain function pointer stored in the system params. There is no capture and no lifetime hazard, and release cleanup for an existing drag is untouched. The new engine test covers all four systems plus the null-clear path.
  • registerToggleCommand(int) already takes a button (help_overlay.hpp:83), so the second backtick registration needs no engine change.
  • No new mutable namespace-scope header variables, shader files, or serialized structs.

Nits (follow-up)

  • creations/editors/voxel_editor/editor_docks.hpp attach() — the std::erase_if(... m.id_ == widget ...) term can never match after the early-return loop above it. Only the dead-entity sweep does anything.
  • editor_docks.hpp m_clipped is an unordered_map<Id,bool> that only ever stores true. An unordered_set<Id> says what it is.
  • editor_docks.hpp arrange() / update() carry bare magic numbers (64 min canvas gap, 36.0f wheel step, 15 title-bar height, 3 drag threshold). Named constexprs next to kTop/kGap would help the next person tuning the rails.
  • editor_docks.hpp uses std::vector and std::string but does not include <vector>/<string>; it compiles through transitive includes.
  • attach("components", …) runs for every field row every frame in updateComponentsPanel. It is a linear scan per widget, which is fine at this size, but it would be cheaper to attach once at row-build time.

Praise

  • Moving hit-testing onto live widget geometry fixes a whole class of "panel moved but its hit box didn't" bugs, and it deletes the duplicated rect constants in the process.
  • The help guard hides and restores through the widget visibility flag and swallows the toggle keys at capture time. A single widget-system hook handles the "help owns input" contract with no per-panel special cases.
  • setGestureStartPredicate is a small, null-safe, test-covered engine seam, and it ignores absent systems.

Test plan the author should run before merge

  • The Windows/OpenGL tier is tagged for a smoke run; this PR was authored and run on macOS/Metal.

Not run by me. I did not build or run the native editor sessions (workspace_controls, workspace_restore, test_dock_rails). The macOS/Metal pass counts and screenshots come from the PR body. The behaviour I verified is by code reading plus the CI rollup on this head. Disclosed baseline failures in the stack (#4918) are the author's and are not attributed to this PR.

Escalation: none. Safe for merge.

🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)

Opus recheck not required.

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation and removed fleet:reviewing-mac-pool-1 labels Nov 8, 2026
jakildev and others added 3 commits November 9, 2026 21:56
Add backtick help, registry-derived Option keycaps and direct tool
shortcuts. Keep Help and moved UI surfaces in control of their input,
using a reusable camera gesture-start predicate.

Group editor controls into movable panels with persistent side-rail
slots, floating placement, scrolling and layout reset. Resolve picking
and framing against live widget geometry. Exercise restart persistence,
scroll clipping and camera ownership in native authoring replays.

Authored with Codex.
The evidence directories now live at media commit 6d2aca2; master keeps no
committed PR screenshots.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@jakildev
jakildev force-pushed the codex/editor-layout-shortcuts branch from 683a601 to 83be55d Compare November 10, 2026 05:56
@jakildev
jakildev merged commit 4ccda0f into master Nov 10, 2026
11 of 12 checks passed
@evin-mac-claude-app evin-mac-claude-app Bot added the fleet:needs-human Fleet can't complete autonomously; human must act. Keeps human:approved. Clears when human resolves. label Nov 10, 2026
@evin-mac-claude-app

Copy link
Copy Markdown
Contributor

Orphaned from merged PR #4896; the child conflicts while replaying onto master. No branch mutation was made. Repair manually with git rebase --onto origin/master 7ba9d35, push, then gh pr edit --base master.

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-codex Implementation last authored by Codex; route review to Claude fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend fleet:needs-human Fleet can't complete autonomously; human must act. Keeps human:approved. Clears when human resolves. fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant