Pass ForgeDocs Product page

Manual

Measuring performance

The benchmark scene turns on every shipped screen look, every highlight style, the afterimage, flashing, 32 damage numbers and a route's line on the ground in turn over the same animated scene, and compares each with the scene rendered with no effect. The Route, 30 m, Arrows step lays 30 m of a Pass Forge Route's flowing arrows across the stage and circles a third-person camera, 2.2 m up, once around the route's start, so the line runs ahead of it, across the view, and back beside and under it. It is compared with the plain scene from the same camera, measured just before it as No effect (third person). Build Benchmark Scene offers to add the scene to the build and to turn on Frame Timing Stats in Player Settings. With Frame Timing Stats on, the benchmark reads GPU time; without it, only frame time is measured, and a display capped at 60 or 30 frames per second hides most of the difference.

Build the scene for the device and run it there. A run takes about 15 minutes and draws only one small progress line. Each look runs for a moment before it is measured, and times are medians over the measuring window, so a one off hitch such as a shader being prepared does not skew them. The results list every look by its extra GPU time over the plain scene, most expensive first. Looks that draw only with something in the scene get it only while they are measured: a Reveal Lens in the middle of the screen, a Fog of War, Effect Masks on four objects, a shockwave every 0.3 seconds, and for God Rays a sun low ahead of the camera, compared with the plain scene under it, No effect (low sun); a look that still draws nothing, or whose AgX Tonemapping cannot show on the device, such as in a browser that cannot render HDR, is listed as not measured, with what it needs, after the others. Copy results puts them on the clipboard as CSV. They are also logged on lines starting with PassForgeBenchmark,, and saved to PassForgeBenchmark.csv in the application's persistent data folder.

Because phones slow down as they warm up, the plain scene is measured every 24 looks as well as at the start, the middle and the end, and each look is compared with the plain scene measured around it, so a phone that heats up does not make later looks look heavier. The CSV's reference_gpu_ms column shows the heat as it rises; when it rises a lot, let the device cool and run again, since a throttled GPU also draws each look more slowly.

Browse looks on the results screen, or Browse next to the progress line while measuring (this stops the run), shows the looks one at a time instead, with Prev and Next in a bar at the bottom of the screen and nothing else in the way. The bar's Results button goes back to the results; when there are none yet it reads Measure and starts a run.

On the phone this benchmark was first run on, most screen looks cost under 2.5 ms of GPU time at native resolution. The painting looks cost far more, which is why Oil Painting and Comic Ink have Mobile versions and Watercolor and Ink And Wash compute at half resolution.