Realtime performance
claude/perf-web-link @ a76c0e7619
— Perf: web links to a report's slowest stretches (the web build, a version 1 view state)
2026-10-05T16:15:17Z · Apple M6 (12 GPU cores) (driver macOS 27.0.1 (26A434))
· Dorado__2C3__Evening_-_Escort.gltf at 1700x720 · view Realtime
· all reports
GPU-bound: the GPU takes longer than the CPU in 100% of the frames. GPU p95 42.08 ms: over the 30 Hz budget (33.3 ms).
Frame time along the spline
Median over the runs per frame, then a moving median over 9 frames; without the first 30 frames of the realtime mode (before them, the raster draws while it loads). The raw series are in the legend (click to show). The frame interval includes the vsync wait.
GPU time per stage
Stacked by stage (the passes of each are in the table below). "Raster passes" are the ones the realtime mode keeps from the raster; "other" is any pass not in a stage, and the time the realtime mode spends outside its passes.
Scene load
What the G-buffer draws after culling.
CPU (main thread)
The main thread ran 1.85 ms of the 34.67 ms frame (5%: the rest it waited); all threads together 0.1 cores. Dawn's Queue::Submit took 1.25 ms a frame (4% of it). The frame (RunFrame) split into Dawn's submits and the rest, which includes
waiting for the recording jobs.
| scope | depth | mean ms | p95 ms | calls | of the frame |
|---|---|---|---|---|---|
| RunFrame | 0 | 34.46 | 42.69 | 1.0 | 99.4% |
| FramePacing | 1 | 31.60 | 39.09 | 1.0 | 91.1% |
| OnFrame | 1 | 2.51 | 6.10 | 1.0 | 7.2% |
| FrameSubmit | 1 | 0.12 | 0.29 | 1.0 | 0.3% |
| GfxApplication::OnFrameTest | 2 | 2.51 | 6.10 | 1.0 | 7.2% |
| Queue::Submit | 2 | 0.04 | 0.09 | 1.0 | 0.1% |
| CommandEncoder::Finish | 2 | 0.00 | 0.00 | 1.0 | 0.0% |
| GfxApplication::SubmitFrame | 3 | 2.21 | 5.52 | 1.0 | 6.4% |
| GfxApplication::Post | 3 | 0.06 | 0.13 | 1.0 | 0.2% |
| GfxApplication::MainColor | 3 | 0.01 | 0.03 | 1.0 | 0.0% |
| GfxApplication::Sky | 3 | 0.01 | 0.01 | 1.0 | 0.0% |
| Queue::Submit | 4 | 1.21 | 3.05 | 3.0 | 3.5% |
| CommandEncoder::Finish | 4 | 0.01 | 0.03 | 3.0 | 0.0% |
The CPU scopes (FLGR_CPU_SCOPE) on the main thread, summed per frame by name and
depth; work recorded on the job threads shows up as the main thread's wait for it.
Slowest stretches
| spline t | GPU ms | CPU ms | open in gfx | to profile it |
|---|---|---|---|---|
| 0.579 – 0.598 | 43.49 | 2.57 | view · replay · web view · web replay | --set CameraSpline.parkAt=0.588 |
| 0.076 – 0.096 | 40.97 | 4.79 | view · replay · web view · web replay | --set CameraSpline.parkAt=0.086 |
| 0.458 – 0.477 | 39.51 | 1.81 | view · replay · web view · web replay | --set CameraSpline.parkAt=0.468 |
| 0.700 – 0.719 | 39.38 | 2.21 | view · replay · web view · web replay | --set CameraSpline.parkAt=0.709 |
| 0.417 – 0.437 | 38.92 | 1.96 | view · replay · web view · web replay | --set CameraSpline.parkAt=0.427 |
View parks the camera in the middle of the stretch; replay flies it at the runs'
speed and parks at its end. Both open a build of this report's commit with its settings
(tools/perf/open_view.py, the gfx-perf: link handler: once per machine,
open_view.py --install). The web links open the view in the web build
(play.fulgurite.dev/gfx) with the runs' settings: the latest build, not this report's commit (it
says so when they differ), and the map's published export, which needs your Gitea token. For
looking at the place, not for its numbers.
Runs
| run | GPU p50 | GPU p95 | realtime p50 | realtime p95 | CPU p50 | CPU p95 | interval p50 | interval p95 | interval max | > 33.3 ms |
|---|---|---|---|---|---|---|---|---|---|---|
| run1.csv | 34.39 | 43.00 | 32.56 | 41.24 | 2.70 | 7.08 | 34.84 | 44.18 | 50.13 | 58.8% |
| run2.csv | 34.50 | 41.44 | 32.70 | 39.71 | 2.15 | 5.94 | 35.06 | 42.31 | 46.74 | 59.6% |
| run3.csv | 33.54 | 41.33 | 31.73 | 39.38 | 1.62 | 2.85 | 33.91 | 41.79 | 48.96 | 55.2% |
The runs' GPU medians differ by 2.9%. The GPU runs at one of two clock levels per run: runs that differ by more than a few percent are that, not the code.
Stages
| stage | mean ms | p95 ms | share |
|---|---|---|---|
| Froxel lighting | 5.169 | 10.115 | 15.1% |
| Direct light | 4.247 | 7.691 | 12.4% |
| Bounce + cache | 8.624 | 11.276 | 25.3% |
| Reflections | 2.107 | 3.096 | 6.2% |
| Reservoir reuse | 3.494 | 4.682 | 10.2% |
| Shade | 1.611 | 1.908 | 4.7% |
| Denoise | 6.311 | 7.055 | 18.5% |
| Sky | 0.930 | 2.183 | 2.7% |
| G-buffer | 0.763 | 1.284 | 2.2% |
| Post | 0.879 | 0.956 | 2.6% |
| other | 0.001 | 0.002 | 0.0% |
Passes
| pass | stage | mean ms | p95 ms | share |
|---|---|---|---|---|
| RealtimeBounce | Bounce + cache | 8.004 | 10.360 | 23.4% |
| RealtimeDenoiseAtrous | Denoise | 4.313 | 4.742 | 12.6% |
| RealtimeFroxelAmbient | Froxel lighting | 2.929 | 6.586 | 8.6% |
| RealtimeDirect | Direct light | 2.311 | 5.501 | 6.8% |
| RealtimeReflect | Reflections | 2.107 | 3.096 | 6.2% |
| RealtimeDenoiseTemporal | Denoise | 1.998 | 2.359 | 5.9% |
| RealtimeFroxelVisibility | Froxel lighting | 1.796 | 3.374 | 5.3% |
| RealtimeShade | Shade | 1.611 | 1.908 | 4.7% |
| RealtimeSpatial | Reservoir reuse | 1.561 | 2.457 | 4.6% |
| RealtimeDirectB | Direct light | 1.319 | 2.460 | 3.9% |
| RealtimePairVis | Reservoir reuse | 1.107 | 1.489 | 3.2% |
| Sky/AerialPerspective | Sky | 0.804 | 2.057 | 2.4% |
| MainColor | G-buffer | 0.763 | 1.284 | 2.2% |
| RealtimeSunFilter | Direct light | 0.616 | 0.771 | 1.8% |
| RealtimeCacheResolve | Bounce + cache | 0.524 | 1.496 | 1.5% |
| RealtimeTemporal | Reservoir reuse | 0.509 | 0.613 | 1.5% |
| TAA | Post | 0.468 | 0.511 | 1.4% |
| RealtimeFroxelDepthMax | Froxel lighting | 0.443 | 1.513 | 1.3% |
| RealtimeTemporalCount | Reservoir reuse | 0.317 | 0.429 | 0.9% |
| Bloom | Post | 0.245 | 0.256 | 0.7% |
| RealtimeCacheUpdate | Bounce + cache | 0.096 | 0.118 | 0.3% |
| Sky/AtmosphereLUTs | Sky | 0.084 | 0.094 | 0.2% |
| Composite | Post | 0.051 | 0.061 | 0.1% |
| Sky/SkyViewSH | Sky | 0.043 | 0.069 | 0.1% |
| FinalBlit+UI | Post | 0.041 | 0.046 | 0.1% |
| AutoExposure | Post | 0.036 | 0.039 | 0.1% |
| Blit2 | Post | 0.032 | 0.039 | 0.1% |
| UI | Post | 0.006 | 0.009 | 0.0% |
| Reference (outside passes) | other | 0.001 | 0.002 | 0.0% |
Settings
82 Realtime settings
| setting | value |
|---|---|
| Realtime.enabled | false |
| Realtime.quality | Medium |
| Realtime.debugView | Final |
| Realtime.halfRes | true |
| Realtime.temporal | true |
| Realtime.spatial | true |
| Realtime.spatialSamples | 1 |
| Realtime.spatialRadius | 30 |
| Realtime.maxHistory | 20 |
| Realtime.reuseDepthTolerance | 0.1 |
| Realtime.reuseNormalTolerance | 0.9 |
| Realtime.halfResPick | true |
| Realtime.temporalShare | true |
| Realtime.cellSchedule | true |
| Realtime.temporalSearch | 0 |
| Realtime.denoiseMotionHistory | 0.3 |
| Realtime.altSeed | false |
| Realtime.passStats | false |
| Realtime.iterationCap | 0 |
| Realtime.iterationCapPathOnly | false |
| Realtime.pairedSpatial | true |
| Realtime.pairSigma | 8 |
| Realtime.pairCount | 1 |
| Realtime.visibilityQueue | false |
| Realtime.directBEarlyExit | false |
| Realtime.visQueueCapacity | 0 |
| Realtime.rayEpsilonScale | 1 |
| Realtime.restirVertexNormal | false |
| Realtime.clampGather | 0 |
| Realtime.clampCache | 8 |
| Realtime.clampTemporal | 0 |
| Realtime.clampDeviation | true |
| Realtime.packedGSample | true |
| Realtime.bounceRate | 2 |
| Realtime.maxBounces | 8 |
| Realtime.rouletteStart | 2 |
| Realtime.targetMs | 0 |
| Realtime.radianceCache | true |
| Realtime.cacheUpdateRate | 16 |
| Realtime.cacheRouletteStart | 0 |
| Realtime.cacheUpdateEnd | 0 |
| Realtime.cacheUpdateShade | false |
| Realtime.cacheCellPixels | 32 |
| Realtime.cacheMaxSamples | 64 |
| Realtime.cacheFallback | true |
| Realtime.cacheReflectance | false |
| Realtime.cellSchedule4 | false |
| Realtime.gatherSkipEmpty | false |
| Realtime.reflections | true |
| Realtime.reflectionRoughness | 0.3 |
| Realtime.reflectionRate | 1 |
| Realtime.sunFilter | true |
| Realtime.sunCheckerboard | true |
| Realtime.visibility | true |
| Realtime.screenVisibility | true |
| Realtime.screenSteps | 8 |
| Realtime.screenThickness | 0.05 |
| Realtime.visibilityReach | 4 |
| Realtime.lightResponse | 6 |
| Realtime.lightResetDegrees | 5 |
| Realtime.lightFullRateDegrees | 1 |
| Realtime.lightBounceRate | 1 |
| Realtime.denoise | true |
| Realtime.denoiseIterations | 5 |
| Realtime.denoiseHistory | 16 |
| Realtime.denoiseSigmaLuminance | 4 |
| Realtime.denoiseSpecularRoughness | 0.5 |
| Realtime.denoiseHistoryFallback | true |
| Realtime.denoiseStepBase | 2 |
| Realtime.denoiseSparseFrom | 6 |
| Realtime.denoiseFastWeights | false |
| Realtime.aerialPerspective | true |
| Realtime.froxelShadowRays | 4 |
| Realtime.froxelAmbient | true |
| Realtime.froxelAmbientRays | 8 |
| Realtime.froxelGridSize | 0 |
| Realtime.froxelGridDepth | 0 |
| Realtime.froxelProfile | 0 |
| Realtime.froxelSkipHidden | true |
| Realtime.froxelDepthHits | true |
| Realtime.froxelTemporal | true |
| Realtime.froxelTemporalWeight | 0.25 |
127 others
| setting | value |
|---|---|
| Reference.maxBounces | 8 |
| Reference.maxSamples | 4096 |
| Reference.textureSize | 256 |
| Reference.causticRoughness | 0.3 |
| Reference.rouletteStart | 3 |
| Reference.sobol | true |
| Reference.pathBudget | 8 |
| Reference.debugView | None |
| Reference.benchmarkSamples | 0 |
| Reference.benchmarkStations | 0 |
| Reference.dumpAfterPasses | 0 |
| Reference.dumpTaa | false |
| Reference.dumpFrames | 1 |
| Reference.dumpEvery | 1 |
| Reference.rebraid | true |
| Reference.instanceFilterFlags | true |
| Reference.rebraidBudget | 8 |
| Reference.flatten | true |
| Reference.seedOffset | 0 |
| Reference.atmosphere | All rays |
| Reference.atmosphereEstimator | 0 |
| Reference.atmosphereView | 0 |
| Reference.profileFlags | 0 |
| Model.enabled | true |
| Model.scale | 100 |
| Model.seaLevel | 0 |
| GTAO.radius | 50 |
| GTAO.intensity | 1 |
| GTAO.falloff | 0.6 |
| GTAO.thickness | 1 |
| GTAO.slice count | 2 |
| GTAO.steps per slice | 6 |
| GTAO.blur depth sigma | 20 |
| Sky Pass.atmosphere top | 6460 |
| Sky Pass.rayleigh scale height | 8 |
| Sky Pass.rayleigh strength | 1 |
| Sky Pass.mie scale height | 0.6 |
| Sky Pass.mie scattering | 0.3066 |
| Sky Pass.mie absorption | 0.0267 |
| Sky Pass.mie phase g | 0.75 |
| Sky Pass.sun angular radius | 0.27 |
| TAA.enabled | true |
| TAA.feedback | 0.9 |
| TAA.realtimeFeedback | 0.97 |
| TAA.rejectDisocclusion | true |
| TAA.jitter | true |
| TAA.linearBlend | false |
| TAA.fireflyClamp | true |
| TAA.disocclusionRadius | 2 |
| TAA.disocclusionKeep | 0 |
| TAA.depthTolerance | 0.02 |
| TAA.realtimeRamp | true |
| TAA.realtimeRampLag | 8 |
| TAA.realtimeRampFloor | 0.5 |
| TAA.realtimeMotionHistory | 0.1 |
| TAA.linearClip | true |
| Bloom Pass.level 0 weight | 1 |
| Bloom Pass.level 1 weight | 0.8 |
| Bloom Pass.level 2 weight | 0.64 |
| Bloom Pass.level 3 weight | 0.512 |
| Bloom Pass.level 4 weight | 0.4096 |
| Bloom Pass.level 5 weight | 0.32768 |
| Bloom Pass.level 6 weight | 0.262144 |
| Bloom Pass.level 7 weight | 0.2097152 |
| Bloom Pass.time each level | false |
| Auto Exposure.min log luminance | -6 |
| Auto Exposure.max log luminance | 12 |
| Auto Exposure.adaptation speed | 1 |
| Auto Exposure.key value | 0.12 |
| Auto Exposure.exposure compensation | 0 |
| Composite Pass.tonemap | true |
| Composite Pass.exposure | 0.1 |
| Composite Pass.bloom strength | 0.08 |
| CameraSpline.parkAt | -1 |
| CameraSpline.parkSpeed | 0 |
| CameraSpline.stopAt | -1 |
| CameraSpline.loop | false |
| CameraSpline.source | Map |
| CameraSpline.path | 0 |
| Sun.azimuthOffset | 0 |
| Sun.rotateSpeed | 0 |
| Sun.gamepadSpeed | 45 |
| Gamepad.lookSpeed | 2.5 |
| Gamepad.lookExponent | 2 |
| Gamepad.invertLookY | false |
| Gamepad.moveExponent | 1 |
| Gamepad.lookInnerDeadZone | 0.24 |
| Gamepad.lookOuterDeadZone | 0.95 |
| Gamepad.moveInnerDeadZone | 0.2 |
| Gamepad.moveOuterDeadZone | 0.95 |
| Gamepad.moveAxialDeadZone | 0.15 |
| Gamepad.triggerInnerDeadZone | 0.05 |
| Gamepad.triggerOuterDeadZone | 0.95 |
| Quality.tier | Medium |
| Sky.enabled | true |
| Sky.aerialPerspective | true |
| Sky.apMultiscattering | false |
| Sky.apVisibility | Ray traced |
| Sky.specularIbl | true |
| Sky.apShadowLow | false |
| Sky.apShadowMedium | true |
| Sky.apShadowHigh | true |
| Render.shadows | true |
| Render.decals | true |
| Render.glass | true |
| Render.specularAA | 0 |
| Render.specularAAClamp | 0.18 |
| Render.bloom | true |
| Render.autoExposure | true |
| Render.ssaoLow | false |
| Render.ssaoMedium | false |
| Render.ssaoHigh | true |
| Render.shadowBiasScale | 1 |
| Render.shadowSlopeBiasScale | 1 |
| Render.shadowSize | 1 |
| Render.cascadeCount | 3 |
| Render.cascadeLambda | 0.7 |
| Render.cascadeBlendRange | 0.2 |
| Render.debugCascades | false |
| Render.culling | true |
| Render.shadowCullLow | 0.02 |
| Render.shadowCullMedium | 0.01 |
| Render.shadowCullHigh | 0.001 |
| Render.mainCullLow | 0.05 |
| Render.mainCullMedium | 0.025 |
| Render.mainCullHigh | 0.01 |
| Swapchain.presentMode | Immediate |
As gfx reports them at startup (--list-settings).