diff --git a/CMakeLists.txt b/CMakeLists.txt index 5361f1cf84c9..9bde383ae800 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1040,6 +1040,9 @@ if(BUILD_TESTING) add_test(NAME title_run_identity COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tools/tests/test_title_run_identity.py) set_tests_properties(title_run_identity PROPERTIES TIMEOUT 30) + add_test(NAME title_run_summary_provenance COMMAND ${Python3_EXECUTABLE} + ${CMAKE_CURRENT_SOURCE_DIR}/tools/tests/test_title_run_summary_provenance.py) + set_tests_properties(title_run_summary_provenance PROPERTIES TIMEOUT 30) add_test(NAME performance_compare COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tools/tests/test_performance_compare.py) set_tests_properties(performance_compare PROPERTIES TIMEOUT 20) diff --git a/docs/dev/PERFORMANCE_BISECT.md b/docs/dev/PERFORMANCE_BISECT.md index 719248ef3053..2b61d106069b 100644 --- a/docs/dev/PERFORMANCE_BISECT.md +++ b/docs/dev/PERFORMANCE_BISECT.md @@ -53,6 +53,8 @@ The known-good revision must be an earlier commit on the known-bad revision's fi Each tested revision runs `title_run.py` repeatedly with one measured run per invocation. The median FPS is compared with the good endpoint. A search stops instead of guessing if the bad endpoint is not slow enough, a run fails to render, the machine/title/content identity changes, or sample spread exceeds `max_spread_pct`. +Each sample requires clean native runtime provenance matching the requested commit as well as the clean source checkout. Native trace `commit`/`dirty` and run-report `anyps5.commit`/`modified` are checked together, including all recorded intervals. A missing, unknown, modified or conflicting identity stops the search. Historical title runners that omit native identity cannot provide a qualified sample; their saved metrics remain readable by the title-run comparison. + ## Read the report The command prints the first measured regression and its previous good commit. The optional JSON report records those commits, the supplied endpoints, the percentage threshold, the sample spread limit, the first-parent method, its monotonicity assumption, and every commit actually measured. `tested_commits` can be much smaller than `commits_between` because the search is logarithmic; it is not a claim that every commit was benchmarked. diff --git a/docs/dev/TRACING.md b/docs/dev/TRACING.md index 0f977ac96359..4230641dcb8c 100644 --- a/docs/dev/TRACING.md +++ b/docs/dev/TRACING.md @@ -107,6 +107,8 @@ Use the interval digest without a thread filter for `aps5-summary.jsonl`. `python tools/title_run.py --games [ID ...]` relinks and runs extracted title packages found under `--games` (a directory holding `eboot.bin` and `sce_sys/param.json`) and writes `summary.json` and a fixed-format `summary.md` under `--out` (default `build/title-runs/-