test(agc): give the performance overlay test 120 s in an ASan build #11555

Merged
MarcZX10 merged 1 commit from upstream-pr/11555 into main 2026-10-27 23:58:41 +00:00
MarcZX10 commented 2026-10-26 19:06:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T19:06:22Z.


What

agc_performance_overlay has a 30 s ctest timeout. In an ANYPS5_ENABLE_ASAN build it runs far longer than in a normal one. On an ubuntu-latest runner (lavapipe), three runs of the test alone took:

Build Run 1 Run 2 Run 3
RelWithDebInfo 2.94 s 0.62 s 0.63 s
ASan and UBSan 19.48 s 19.40 s 19.31 s

That leaves little margin. In a full sanitizer run with ctest --parallel 4 it timed out at 30.18 s and was reported as a failure, although nothing in it failed.

The test now gets a 120 s timeout when ANYPS5_ENABLE_ASAN is on. Other builds keep 30 s, so a slowdown there is still caught, and the other overlay tests are unchanged.

Tested

  • The timings above come from one fork run that built agc_performance_overlay_tests both ways and ran it three times each with ctest --timeout 600. All six runs passed.
  • python3 tools/check_conventions.py --base upstream/main passes and tools/pr_overlap.py --branch reports no conflicting lines. Windows and macOS were not run; ASan builds are Linux only.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source (not applicable; no third-party code added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5023116960 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11555). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T19:06:22Z. --- ### What `agc_performance_overlay` has a 30 s ctest timeout. In an `ANYPS5_ENABLE_ASAN` build it runs far longer than in a normal one. On an `ubuntu-latest` runner (lavapipe), three runs of the test alone took: | Build | Run 1 | Run 2 | Run 3 | |---|---|---|---| | RelWithDebInfo | 2.94 s | 0.62 s | 0.63 s | | ASan and UBSan | 19.48 s | 19.40 s | 19.31 s | That leaves little margin. In a full sanitizer run with `ctest --parallel 4` it timed out at 30.18 s and was reported as a failure, although nothing in it failed. The test now gets a 120 s timeout when `ANYPS5_ENABLE_ASAN` is on. Other builds keep 30 s, so a slowdown there is still caught, and the other overlay tests are unchanged. ### Tested - The timings above come from one fork run that built `agc_performance_overlay_tests` both ways and ran it three times each with `ctest --timeout 600`. All six runs passed. - `python3 tools/check_conventions.py --base upstream/main` passes and `tools/pr_overlap.py --branch` reports no conflicting lines. Windows and macOS were not run; ASan builds are Linux only. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source (not applicable; no third-party code added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!11555
No description provided.