Realtime performance

claude/pass-timestamps @ 5d8de78cd3 — fulgur: pass timestamps on Metal (1a8f05f), so the Mac's GPU scopes are right
2026-10-05T12:34:12Z · Apple M6 (12 GPU cores) (driver macOS 27.0.1 (26A434)) · Dorado__2C3__Evening_-_Escort.gltf at 1700x720 · view Realtime · all reports

GPU median
33.68 ms
p95 41.30 · p99 43.46
Realtime passes median
31.82 ms
p95 39.33 · p99 41.69
CPU median
1.23 ms
p95 2.25 · p99 2.49
Frame interval median
34.03 ms
p95 41.79 · p99 43.78
Frames over 33.3 ms
55.9%
1969 frames × 3 runs

GPU-bound: the GPU takes longer than the CPU in 100% of the frames. GPU p95 41.30 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 0.91 ms of the 34.17 ms frame (3%: the rest it waited); all threads together 0.1 cores. Dawn's Queue::Submit took 0.65 ms a frame (2% of it). The frame (RunFrame) split into Dawn's submits and the rest, which includes waiting for the recording jobs.

scopedepthmean msp95 mscallsof the frame
RunFrame034.0041.611.099.5%
  FramePacing132.4139.871.094.8%
  OnFrame11.312.251.03.8%
  FrameSubmit10.060.071.00.2%
    GfxApplication::OnFrameTest21.312.251.03.8%
    Queue::Submit20.020.021.00.1%
    CommandEncoder::Finish20.000.001.00.0%
      GfxApplication::SubmitFrame31.172.101.03.4%
      GfxApplication::Post30.020.031.00.1%
      GfxApplication::MainColor30.000.001.00.0%
      GfxApplication::Sky30.000.001.00.0%
        Queue::Submit40.631.043.01.8%
        CommandEncoder::Finish40.000.013.00.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 tGPU msCPU msopen in gfx to profile it
0.579 – 0.59842.991.04view · replay · web view · web replay--set CameraSpline.parkAt=0.588
0.076 – 0.09640.682.29view · replay · web view · web replay--set CameraSpline.parkAt=0.086
0.458 – 0.47739.701.63view · replay · web view · web replay--set CameraSpline.parkAt=0.468
0.700 – 0.71939.100.96view · replay · web view · web replay--set CameraSpline.parkAt=0.709
0.417 – 0.43739.091.86view · 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

runGPU p50GPU p95realtime p50realtime p95CPU p50CPU p95interval p50interval p95interval max> 33.3 ms
run1.csv33.6341.2831.7539.331.212.1933.9941.7745.5555.8%
run2.csv33.6941.2131.8339.331.222.2334.0341.7545.5455.7%
run3.csv33.7141.4131.8739.351.262.2934.0641.8745.4956.2%

The runs' GPU medians differ by 0.2%. 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

stagemean msp95 msshare
Froxel lighting4.8229.66314.3%
Direct light4.3927.86913.0%
Bounce + cache8.66411.26925.6%
Reflections2.1283.1826.3%
Reservoir reuse3.5004.60910.4%
Shade1.5561.6874.6%
Denoise6.1536.52918.2%
Sky0.8911.7512.6%
G-buffer0.8141.2932.4%
Post0.8620.9012.6%
other0.0010.0020.0%

Passes

passstagemean msp95 msshare
RealtimeBounceBounce + cache8.12810.53024.1%
RealtimeDenoiseAtrousDenoise4.2244.53012.5%
RealtimeFroxelAmbientFroxel lighting2.8246.1748.4%
RealtimeDirectDirect light2.3415.4156.9%
RealtimeReflectReflections2.1283.1826.3%
RealtimeDenoiseTemporalDenoise1.9292.0775.7%
RealtimeFroxelVisibilityFroxel lighting1.6673.1244.9%
RealtimeSpatialReservoir reuse1.5742.4484.7%
RealtimeShadeShade1.5561.6874.6%
RealtimeDirectBDirect light1.4462.4584.3%
RealtimePairVisReservoir reuse1.1231.5273.3%
MainColorG-buffer0.8141.2932.4%
Sky/AerialPerspectiveSky0.7621.6152.3%
RealtimeSunFilterDirect light0.6050.7291.8%
RealtimeTemporalReservoir reuse0.5010.5911.5%
TAAPost0.4600.4761.4%
RealtimeCacheResolveBounce + cache0.4341.1561.3%
RealtimeFroxelDepthMaxFroxel lighting0.3301.0871.0%
RealtimeTemporalCountReservoir reuse0.3010.3840.9%
BloomPost0.2440.2500.7%
RealtimeCacheUpdateBounce + cache0.1020.1240.3%
Sky/AtmosphereLUTsSky0.0840.0980.2%
CompositePost0.0490.0540.1%
Sky/SkyViewSHSky0.0450.0720.1%
FinalBlit+UIPost0.0400.0430.1%
AutoExposurePost0.0350.0380.1%
Blit2Post0.0320.0390.1%
UIPost0.0020.0080.0%
Reference (outside passes)other0.0010.0020.0%

Settings

82 Realtime settings
settingvalue
Realtime.enabledfalse
Realtime.qualityMedium
Realtime.debugViewFinal
Realtime.halfRestrue
Realtime.temporaltrue
Realtime.spatialtrue
Realtime.spatialSamples1
Realtime.spatialRadius30
Realtime.maxHistory20
Realtime.reuseDepthTolerance0.1
Realtime.reuseNormalTolerance0.9
Realtime.halfResPicktrue
Realtime.temporalSharetrue
Realtime.cellScheduletrue
Realtime.temporalSearch0
Realtime.denoiseMotionHistory0.3
Realtime.altSeedfalse
Realtime.passStatsfalse
Realtime.iterationCap0
Realtime.iterationCapPathOnlyfalse
Realtime.pairedSpatialtrue
Realtime.pairSigma8
Realtime.pairCount1
Realtime.visibilityQueuefalse
Realtime.directBEarlyExitfalse
Realtime.visQueueCapacity0
Realtime.rayEpsilonScale1
Realtime.restirVertexNormalfalse
Realtime.clampGather0
Realtime.clampCache16
Realtime.clampTemporal0
Realtime.clampDeviationtrue
Realtime.packedGSampletrue
Realtime.bounceRate2
Realtime.maxBounces8
Realtime.rouletteStart2
Realtime.targetMs0
Realtime.radianceCachetrue
Realtime.cacheUpdateRate16
Realtime.cacheRouletteStart0
Realtime.cacheUpdateEnd0
Realtime.cacheUpdateShadefalse
Realtime.cacheCellPixels32
Realtime.cacheMaxSamples64
Realtime.cacheFallbacktrue
Realtime.cacheReflectancefalse
Realtime.cellSchedule4false
Realtime.gatherSkipEmptyfalse
Realtime.reflectionstrue
Realtime.reflectionRoughness0.3
Realtime.reflectionRate1
Realtime.sunFiltertrue
Realtime.sunCheckerboardtrue
Realtime.visibilitytrue
Realtime.screenVisibilitytrue
Realtime.screenSteps8
Realtime.screenThickness0.05
Realtime.visibilityReach4
Realtime.lightResponse6
Realtime.lightResetDegrees5
Realtime.lightFullRateDegrees1
Realtime.lightBounceRate1
Realtime.denoisetrue
Realtime.denoiseIterations5
Realtime.denoiseHistory16
Realtime.denoiseSigmaLuminance4
Realtime.denoiseSpecularRoughness0.5
Realtime.denoiseHistoryFallbacktrue
Realtime.denoiseStepBase2
Realtime.denoiseSparseFrom6
Realtime.denoiseFastWeightsfalse
Realtime.aerialPerspectivetrue
Realtime.froxelShadowRays4
Realtime.froxelAmbienttrue
Realtime.froxelAmbientRays8
Realtime.froxelGridSize0
Realtime.froxelGridDepth0
Realtime.froxelProfile0
Realtime.froxelSkipHiddentrue
Realtime.froxelDepthHitstrue
Realtime.froxelTemporaltrue
Realtime.froxelTemporalWeight0.25
123 others
settingvalue
Reference.maxBounces8
Reference.maxSamples4096
Reference.textureSize256
Reference.causticRoughness0.3
Reference.rouletteStart3
Reference.soboltrue
Reference.pathBudget8
Reference.debugViewNone
Reference.benchmarkSamples0
Reference.benchmarkStations0
Reference.dumpAfterPasses0
Reference.dumpTaafalse
Reference.dumpFrames1
Reference.dumpEvery1
Reference.rebraidtrue
Reference.instanceFilterFlagstrue
Reference.rebraidBudget8
Reference.flattentrue
Reference.seedOffset0
Reference.atmosphereAll rays
Reference.atmosphereEstimator0
Reference.atmosphereView0
Reference.profileFlags0
Model.enabledtrue
Model.scale100
Model.seaLevel0
GTAO.radius50
GTAO.intensity1
GTAO.falloff0.6
GTAO.thickness1
GTAO.slice count2
GTAO.steps per slice6
GTAO.blur depth sigma20
Sky Pass.atmosphere top6460
Sky Pass.rayleigh scale height8
Sky Pass.rayleigh strength1
Sky Pass.mie scale height0.6
Sky Pass.mie scattering0.3066
Sky Pass.mie absorption0.0267
Sky Pass.mie phase g0.75
Sky Pass.sun angular radius0.27
TAA.enabledtrue
TAA.feedback0.9
TAA.realtimeFeedback0.95
TAA.rejectDisocclusiontrue
TAA.jittertrue
TAA.linearBlendfalse
TAA.fireflyClamptrue
TAA.disocclusionRadius2
TAA.disocclusionKeep0
TAA.depthTolerance0.02
TAA.realtimeRamptrue
TAA.realtimeRampLag8
TAA.realtimeRampFloor0.5
TAA.realtimeMotionHistory0.1
TAA.linearCliptrue
Bloom Pass.level 0 weight1
Bloom Pass.level 1 weight0.8
Bloom Pass.level 2 weight0.64
Bloom Pass.level 3 weight0.512
Bloom Pass.level 4 weight0.4096
Bloom Pass.level 5 weight0.32768
Bloom Pass.level 6 weight0.262144
Bloom Pass.level 7 weight0.2097152
Bloom Pass.time each levelfalse
Auto Exposure.min log luminance-6
Auto Exposure.max log luminance12
Auto Exposure.adaptation speed1
Auto Exposure.key value0.12
Auto Exposure.exposure compensation0
Composite Pass.tonemaptrue
Composite Pass.exposure0.1
Composite Pass.bloom strength0.08
CameraSpline.parkAt-1
CameraSpline.parkSpeed0
CameraSpline.stopAt-1
Sun.azimuthOffset0
Sun.rotateSpeed0
Sun.gamepadSpeed45
Gamepad.lookSpeed2.5
Gamepad.lookExponent2
Gamepad.invertLookYfalse
Gamepad.moveExponent1
Gamepad.lookInnerDeadZone0.24
Gamepad.lookOuterDeadZone0.95
Gamepad.moveInnerDeadZone0.2
Gamepad.moveOuterDeadZone0.95
Gamepad.moveAxialDeadZone0.15
Gamepad.triggerInnerDeadZone0.05
Gamepad.triggerOuterDeadZone0.95
Quality.tierMedium
Sky.enabledtrue
Sky.aerialPerspectivetrue
Sky.apMultiscatteringfalse
Sky.apVisibilityRay traced
Sky.specularIbltrue
Sky.apShadowLowfalse
Sky.apShadowMediumtrue
Sky.apShadowHightrue
Render.shadowstrue
Render.decalstrue
Render.glasstrue
Render.specularAA0
Render.specularAAClamp0.18
Render.bloomtrue
Render.autoExposuretrue
Render.ssaoLowfalse
Render.ssaoMediumfalse
Render.ssaoHightrue
Render.shadowBiasScale1
Render.shadowSlopeBiasScale1
Render.shadowSize1
Render.cascadeCount3
Render.cascadeLambda0.7
Render.cascadeBlendRange0.2
Render.debugCascadesfalse
Render.cullingtrue
Render.shadowCullLow0.02
Render.shadowCullMedium0.01
Render.shadowCullHigh0.001
Render.mainCullLow0.05
Render.mainCullMedium0.025
Render.mainCullHigh0.01

As gfx reports them at startup (--list-settings).