A profile says where the time goes; whether a change helped is a separate, paired measurement of unprofiled runs.
python3 tools/bench_nvn_game.py --game "$games/<id>/<id>_code.so" \
--baseline work/build-before/scarletnx --candidate build/rel/scarletnx \
--frames 600 --script work/scene.snxtas --rounds 3 --timeout 300 --uncapped --out work/prof/ab
It runs baseline and candidate alternately, each from an isolated copy of the same saves, settings and empty caches,
replays a frame-based input file, rejects runs that crash, time out or end on a blank screen, and keeps each run's
final screenshot to inspect. Its metric includes startup and shader preparation; for steady-state frame time, use a
long --frames or compare Tracy's frame ms over the same scene.
tools/tune_gpu.py GAME --state SLOT --warmup 20 --seconds 60 --out work/prof/tune searches GPU settings and
retests the fastest against the baseline; it applies nothing.tools/analyze_gpu_budget.py puts measured component costs side by side without turning them into a promised FPS.Made from docs/dev/profiling.md at 69237645142c. GPL-3.0-or-later.