perf(relinker): mark reached code in a map while collecting instructions #13825

Merged
JJenkx merged 2 commits from upstream-pr/13825 into main 2026-11-01 01:54:05 +00:00
JJenkx commented 2026-10-31 08:22:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-31T08:22:38Z.


What

CodeInstructionCollector::Collect builds the control-flow graph of each code segment, then decodes every reachable instruction. Two costs grew with the size of the segment:

  • The walk's sets: it kept reachable instructions in a std::unordered_set. Every decoded instruction looked itself up, was inserted, and was also inserted into and erased from a visited set.
  • The collector's loop: Collect passed the same growing set to each pass of its root loop. Each pass then walked the whole set again, skipping what it had already decoded.

This PR changes both:

  • Byte map: the walk marks each text offset as reached, queued or not seen. Queued marks are cleared when a walk returns, as the per-call visited set was, so a later walk can queue the address again.
  • ExtendControlFlowGraph: it takes a caller's map and returns only the addresses that one walk added, in address order. Collect keeps one map per segment and handles only those addresses. roots and dataTargets are ordered sets, so handling the new addresses in a different order changes nothing.
  • Existing overloads: BuildControlFlowGraph with a reachable set fills a map from the set, walks, then inserts the new addresses in the order they were found. The other overloads and IControlFlowGraph are unchanged.

CheckReachedMap in ControlFlowGraphTests covers the new function:

  • a marked offset stops the walk;
  • a second walk returns only its new addresses, once each and sorted;
  • a walk of code already reached returns nothing;
  • a map shorter than the text is rejected.

Tested

Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7, Ninja, Release. Both arms were built in one relinker-only build directory with the same options: main 828ac0b2ae, and this PR's code (28e28beaf1, identical to 7e497b667b except that it lacks the new test). Each run converts a title's eboot.elf with relinker --windows, alternating the arms. The output check is a SHA-256 over every output file.

Title eboot.elf Runs per arm main median This PR median Change Output
PPSA04158 164.5 MB 6 45.26 s 27.56 s −39% same, ca84b8c937019c67
PPSA34008 209.1 MB 2 72.58 s 33.75 s −53% same, 0b47749e42216437
PPSA26528 163.4 MB 2 52.41 s 25.82 s −51% same, 1999b0114f6c7466
PPSA13934 31.8 MB 2 11.31 s 7.39 s −35% same, 579e2e0c44cde8e6
PPSA20423 29.9 MB 2 10.63 s 6.91 s −35% same, 17d2d480e7b9eb97
  • Spread on PPSA04158: main 44.85–49.67 s, this PR 26.99–28.62 s.
  • On top of the other relinker PRs: on main 833be4af8d with #12154, #12282 and #12270 merged, the same change took PPSA04158 from 22.92 s to 16.42 s (median of six), with the same output.
  • Profile: a timing probe of that combined build (local only, not part of this PR) put the 98 MB code segment's walk at 651 ms, and copying its 23.5 million reachable addresses into the set at 1,427 ms. This PR removes that copy from Collect's path.
  • Tests: all 543 tests of the relinker build pass (ctest -j16), including the new CheckReachedMap. Conventions pass.
  • Rebase: the branch is now 2250da786c on main e8c25dd3ba. main did not change the four files between 828ac0b2ae and e8c25dd3ba, so the diff is the tested one.
  • Not tested: Linux and macOS builds; CI covers them.

Overlap

  • #12154 and #12282 (mine): they change the lines next to this PR's in Collect, replacing decodedInstructions and instructions with vectors. A rebase after either merges is mechanical.
  • #12270 (mine): it reserves reachable in the walk. After this PR the walk no longer inserts into that set, so the reserve only affects the set overload, and the two edit the same lines.
  • #13620 (PolkadotDom): it edits two TargetOfSlot lines inside the same walk, which this PR does not touch.

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
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5095905461 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13825). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-31T08:22:38Z. --- ### What `CodeInstructionCollector::Collect` builds the control-flow graph of each code segment, then decodes every reachable instruction. Two costs grew with the size of the segment: - **The walk's sets:** it kept reachable instructions in a `std::unordered_set`. Every decoded instruction looked itself up, was inserted, and was also inserted into and erased from a `visited` set. - **The collector's loop:** `Collect` passed the same growing set to each pass of its root loop. Each pass then walked the whole set again, skipping what it had already decoded. This PR changes both: - **Byte map:** the walk marks each text offset as reached, queued or not seen. Queued marks are cleared when a walk returns, as the per-call `visited` set was, so a later walk can queue the address again. - **`ExtendControlFlowGraph`:** it takes a caller's map and returns only the addresses that one walk added, in address order. `Collect` keeps one map per segment and handles only those addresses. `roots` and `dataTargets` are ordered sets, so handling the new addresses in a different order changes nothing. - **Existing overloads:** `BuildControlFlowGraph` with a reachable set fills a map from the set, walks, then inserts the new addresses in the order they were found. The other overloads and `IControlFlowGraph` are unchanged. `CheckReachedMap` in `ControlFlowGraphTests` covers the new function: - a marked offset stops the walk; - a second walk returns only its new addresses, once each and sorted; - a walk of code already reached returns nothing; - a map shorter than the text is rejected. ### Tested Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7, Ninja, Release. Both arms were built in one relinker-only build directory with the same options: `main` `828ac0b2ae`, and this PR's code (`28e28beaf1`, identical to `7e497b667b` except that it lacks the new test). Each run converts a title's `eboot.elf` with `relinker --windows`, alternating the arms. The output check is a SHA-256 over every output file. | Title | `eboot.elf` | Runs per arm | `main` median | This PR median | Change | Output | |---|---|---|---|---|---|---| | PPSA04158 | 164.5 MB | 6 | 45.26 s | 27.56 s | −39% | same, `ca84b8c937019c67` | | PPSA34008 | 209.1 MB | 2 | 72.58 s | 33.75 s | −53% | same, `0b47749e42216437` | | PPSA26528 | 163.4 MB | 2 | 52.41 s | 25.82 s | −51% | same, `1999b0114f6c7466` | | PPSA13934 | 31.8 MB | 2 | 11.31 s | 7.39 s | −35% | same, `579e2e0c44cde8e6` | | PPSA20423 | 29.9 MB | 2 | 10.63 s | 6.91 s | −35% | same, `17d2d480e7b9eb97` | - **Spread on PPSA04158:** `main` 44.85–49.67 s, this PR 26.99–28.62 s. - **On top of the other relinker PRs:** on `main` `833be4af8d` with #12154, #12282 and #12270 merged, the same change took PPSA04158 from 22.92 s to 16.42 s (median of six), with the same output. - **Profile:** a timing probe of that combined build (local only, not part of this PR) put the 98 MB code segment's walk at 651 ms, and copying its 23.5 million reachable addresses into the set at 1,427 ms. This PR removes that copy from `Collect`'s path. - **Tests:** all 543 tests of the relinker build pass (`ctest -j16`), including the new `CheckReachedMap`. Conventions pass. - **Rebase:** the branch is now `2250da786c` on `main` `e8c25dd3ba`. `main` did not change the four files between `828ac0b2ae` and `e8c25dd3ba`, so the diff is the tested one. - **Not tested:** Linux and macOS builds; CI covers them. ### Overlap - **#12154 and #12282 (mine):** they change the lines next to this PR's in `Collect`, replacing `decodedInstructions` and `instructions` with vectors. A rebase after either merges is mechanical. - **#12270 (mine):** it reserves `reachable` in the walk. After this PR the walk no longer inserts into that set, so the reserve only affects the set overload, and the two edit the same lines. - **#13620 (PolkadotDom):** it edits two `TargetOfSlot` lines inside the same walk, which this PR does not touch. ### 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 - [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 (Claude Code)
MarcZX10 commented 2026-10-31 08:27:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T08:27:18Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The relinker benchmark is useful, but this perf PR still lacks the repository-required paired performance captures and remains labeled perf numbers missing.

What I ran

Reviewed head 2250da786caefbcad6620af5c59e26ed852effa4. The PR base and current main were e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf; the no-build merge preview was clean. Environment: Debian GNU/Linux 12, x86_64, Linux 6.1.0-54, Python 3.11.2. No local C++ build or CTest was run.

python3 tools/pr_precheck.py --pr 13825 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13825
gh pr checks 13825 --repo boykopovar/AnyPS5

Results

Check Result
Diff whitespace check Passed on the exact base/head pair.
Conventions and PR template Passed.
Dependency and merge preview Passed; no declared dependencies and clean preview against current main.
Test-quality heuristic Could not run: its helper was absent from the isolated precheck worktree. This is a tooling limitation, not a PR failure.
Hosted relinker checks Ubuntu relinker and ASan passed; Windows relinker was in progress and both macOS jobs queued at the last check. Product Linux/Windows and specialized jobs were skipped.
Local build and C++ tests Not run; initial reviews are no-build.
Performance-report requirement Not met: the description has direct relinker timing/output-hash measurements, but no paired aps5-summary.jsonl lines, attached traces, or trace_digest.py output. GitHub still shows perf numbers missing.
Unedited outputs
Conventions check
All conventions checks passed.
Merge preview
# PR stack check — fresh

Target: https://github.com/boykopovar/AnyPS5/pull/13825
Target branch tip: `e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf`
All heads unchanged: **True**
Dependency order: #13825

## Individual merge previews

- PR #13825: **clean** against current base; head `2250da786caefbcad6620af5c59e26ed852effa4`; changed paths: none reported

## Dependency relationships

No declared PR dependencies were found in the target PR chain.
Hosted checks (`gh pr checks`)
relinker (ubuntu-latest, g++)	pass	3m22s	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206079
relinker-asan	pass	1m47s	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206060
relinker (macos-latest, clang++, x86_64)	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206032
relinker (windows-latest, g++)	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206093
register-context	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206945
relinker (macos-latest, clang++)	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206086
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488207406
windows	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488207619
write-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488207674
conventions	pass	12s	https://github.com/boykopovar/AnyPS5/actions/runs/41184388914/job/124488195549
eligibility	pass	4s	https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488184822
labels	pass	9s	https://github.com/boykopovar/AnyPS5/actions/runs/41184388908/job/124488195535

Findings

Blocking

  • Required performance evidence is missing. CONTRIBUTING.md requires a speed-change PR to provide main and changed-build summary lines from the same machine and scene, plus the traces described by the performance-report form. The current description provides valuable relinker conversion timings and output hashes, but does not include those summary lines, traces, or digest output; GitHub's perf numbers missing label confirms the missing summary lines. Please add the required matched captures, traces, and python3 tools/trace_digest.py outputs. If the runtime capture format cannot represent this relinker-only measurement, please clarify the exception with maintainers and have the repository's performance requirement/label handled accordingly before approval.

Non-blocking

  • The PR reports five title conversions with identical output hashes and substantial timing reductions. I have not independently reproduced those Windows measurements.

Sources

Not verified

  • No local configure/build, C++ tests, Windows benchmark reproduction, or console/runtime performance capture was performed. The hosted Windows and macOS relinker jobs had not completed at the last check.

To get this to a good state

Add the matched performance evidence requested above, or resolve the tool-only performance-report exception with maintainers. I will refresh the PR and rerun the relevant checks on the new head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5721987911 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13825#pullrequestreview-5721987911). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T08:27:18Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The relinker benchmark is useful, but this `perf` PR still lacks the repository-required paired performance captures and remains labeled `perf numbers missing`. ## What I ran Reviewed head `2250da786caefbcad6620af5c59e26ed852effa4`. The PR base and current `main` were `e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf`; the no-build merge preview was clean. Environment: Debian GNU/Linux 12, x86_64, Linux 6.1.0-54, Python 3.11.2. No local C++ build or CTest was run. ```sh python3 tools/pr_precheck.py --pr 13825 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13825 gh pr checks 13825 --repo boykopovar/AnyPS5 ``` ## Results | Check | Result | |---|---| | Diff whitespace check | Passed on the exact base/head pair. | | Conventions and PR template | Passed. | | Dependency and merge preview | Passed; no declared dependencies and clean preview against current `main`. | | Test-quality heuristic | Could not run: its helper was absent from the isolated precheck worktree. This is a tooling limitation, not a PR failure. | | Hosted relinker checks | Ubuntu relinker and ASan passed; Windows relinker was in progress and both macOS jobs queued at the last check. Product Linux/Windows and specialized jobs were skipped. | | Local build and C++ tests | Not run; initial reviews are no-build. | | Performance-report requirement | Not met: the description has direct relinker timing/output-hash measurements, but no paired `aps5-summary.jsonl` lines, attached traces, or `trace_digest.py` output. GitHub still shows `perf numbers missing`. | <details><summary>Unedited outputs</summary> <details><summary>Conventions check</summary> ```text All conventions checks passed. ``` </details> <details><summary>Merge preview</summary> ```text # PR stack check — fresh Target: https://github.com/boykopovar/AnyPS5/pull/13825 Target branch tip: `e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf` All heads unchanged: **True** Dependency order: #13825 ## Individual merge previews - PR #13825: **clean** against current base; head `2250da786caefbcad6620af5c59e26ed852effa4`; changed paths: none reported ## Dependency relationships No declared PR dependencies were found in the target PR chain. ``` </details> <details><summary>Hosted checks (`gh pr checks`)</summary> ```text relinker (ubuntu-latest, g++) pass 3m22s https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206079 relinker-asan pass 1m47s https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206060 relinker (macos-latest, clang++, x86_64) pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206032 relinker (windows-latest, g++) pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206093 register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206945 relinker (macos-latest, clang++) pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488206086 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488207406 windows skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488207619 write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488207674 conventions pass 12s https://github.com/boykopovar/AnyPS5/actions/runs/41184388914/job/124488195549 eligibility pass 4s https://github.com/boykopovar/AnyPS5/actions/runs/41184372016/job/124488184822 labels pass 9s https://github.com/boykopovar/AnyPS5/actions/runs/41184388908/job/124488195535 ``` </details> </details> ## Findings ### Blocking - **Required performance evidence is missing.** `CONTRIBUTING.md` requires a speed-change PR to provide `main` and changed-build summary lines from the same machine and scene, plus the traces described by the performance-report form. The current description provides valuable relinker conversion timings and output hashes, but does not include those summary lines, traces, or digest output; GitHub's `perf numbers missing` label confirms the missing summary lines. Please add the required matched captures, traces, and `python3 tools/trace_digest.py` outputs. If the runtime capture format cannot represent this relinker-only measurement, please clarify the exception with maintainers and have the repository's performance requirement/label handled accordingly before approval. ### Non-blocking - The PR reports five title conversions with identical output hashes and substantial timing reductions. I have not independently reproduced those Windows measurements. ## Sources - [Contribution rule at the reviewed base](https://github.com/boykopovar/AnyPS5/blob/e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf/CONTRIBUTING.md#L69) - [Performance report form at the reviewed base](https://github.com/boykopovar/AnyPS5/blob/e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf/.github/ISSUE_TEMPLATE/performance.yml) ## Not verified - No local configure/build, C++ tests, Windows benchmark reproduction, or console/runtime performance capture was performed. The hosted Windows and macOS relinker jobs had not completed at the last check. ## To get this to a good state Add the matched performance evidence requested above, or resolve the tool-only performance-report exception with maintainers. I will refresh the PR and rerun the relevant checks on the new head.
MarcZX10 commented 2026-10-31 11:20:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T11:20:39Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The allocation-failure fix and regression test are improved, but the PR still lacks the performance evidence required for a perf change and remains labeled perf numbers missing.

What I ran

Reviewed head 3f20e4b42d97787cbb8bca7ac0c050267f0d70d9 against base e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf; the merge preview against current main f5b82ff45302cd6748a58868611a3dbe89211cdd was clean. Environment: Linux x86_64, Python 3.11.2. I did not build or run C++ tests locally.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13825
gh pr view 13825 --repo boykopovar/AnyPS5 --json headRefOid,labels,statusCheckRollup

Results

Check Result
Diff and conventions Passed
Merge preview Clean against current main
Hosted relinker checks Ubuntu, Windows, macOS, and ASan checks passed; product Linux/Windows jobs were skipped
Regression test The author reports the allocation-failure control distinguishes the old destructor path from the new exception-propagating path; I did not run it locally
Performance report Not satisfied: the description still has no paired aps5-summary.jsonl lines, attached traces, or trace_digest.py output; GitHub still shows perf numbers missing
Optional test-quality helper Could not run because its local helper is absent from the isolated PR checkout
Unedited local convention output
All conventions checks passed.

Negative control

Assertion Change to code under test Outcome
Allocation failure during graph walking propagates instead of terminating during cleanup The author reports running the final-fixture allocation failure with the old destructor publication path Old path terminated; the new path propagated the allocation failure normally, according to the author. I did not reproduce this control.

Findings

Blocking

  • Required performance evidence is still missing. The conversion timings and identical output hashes are useful, direct evidence for this relinker optimization, but the repository’s current contribution rule requires matched main/change summary lines from the same machine and scene plus the traces described by the performance-report form. Because this tool-only change may not produce runtime-frame summaries, please either attach the prescribed paired captures/traces and digest or obtain a maintainer-approved exception for this case and have the perf numbers missing label handled. No approval is given while the repository requirement remains unresolved.

Non-blocking

  • The new exception-safe publication path and allocation-failure regression address the code concern from my earlier review. Hosted relinker CI passed on the current head.

Sources

Not verified

I did not reproduce the relinker benchmark, the reported 543-test suite, or the allocation-failure control locally. The hosted performance requirement remains unresolved even though hosted relinker checks passed.

To get this to a good state

Provide the matched performance artifacts required by the repository or record a maintainer-approved exception and resolve the performance label. I will recheck the evidence and exact head afterward.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5722506971 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13825#pullrequestreview-5722506971). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T11:20:39Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The allocation-failure fix and regression test are improved, but the PR still lacks the performance evidence required for a `perf` change and remains labeled `perf numbers missing`. ## What I ran Reviewed head `3f20e4b42d97787cbb8bca7ac0c050267f0d70d9` against base `e8c25dd3baa6e78531d5eee067fec5cbe8af3dcf`; the merge preview against current `main` `f5b82ff45302cd6748a58868611a3dbe89211cdd` was clean. Environment: Linux x86_64, Python 3.11.2. I did not build or run C++ tests locally. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13825 gh pr view 13825 --repo boykopovar/AnyPS5 --json headRefOid,labels,statusCheckRollup ``` ## Results | Check | Result | |---|---| | Diff and conventions | Passed | | Merge preview | Clean against current `main` | | Hosted relinker checks | Ubuntu, Windows, macOS, and ASan checks passed; product Linux/Windows jobs were skipped | | Regression test | The author reports the allocation-failure control distinguishes the old destructor path from the new exception-propagating path; I did not run it locally | | Performance report | Not satisfied: the description still has no paired `aps5-summary.jsonl` lines, attached traces, or `trace_digest.py` output; GitHub still shows `perf numbers missing` | | Optional test-quality helper | Could not run because its local helper is absent from the isolated PR checkout | <details><summary>Unedited local convention output</summary> ```text All conventions checks passed. ``` </details> ## Negative control | Assertion | Change to code under test | Outcome | |---|---|---| | Allocation failure during graph walking propagates instead of terminating during cleanup | The author reports running the final-fixture allocation failure with the old destructor publication path | Old path terminated; the new path propagated the allocation failure normally, according to the author. I did not reproduce this control. | ## Findings ### Blocking - **Required performance evidence is still missing.** The conversion timings and identical output hashes are useful, direct evidence for this relinker optimization, but the repository’s current contribution rule requires matched `main`/change summary lines from the same machine and scene plus the traces described by the performance-report form. Because this tool-only change may not produce runtime-frame summaries, please either attach the prescribed paired captures/traces and digest or obtain a maintainer-approved exception for this case and have the `perf numbers missing` label handled. No approval is given while the repository requirement remains unresolved. ### Non-blocking - The new exception-safe publication path and allocation-failure regression address the code concern from my earlier review. Hosted relinker CI passed on the current head. ## Sources - [Performance-evidence rule at current `main`](https://github.com/boykopovar/AnyPS5/blob/f5b82ff45302cd6748a58868611a3dbe89211cdd/CONTRIBUTING.md#L71) requires matched summaries and traces for speed claims. - [Performance report form at current `main`](https://github.com/boykopovar/AnyPS5/blob/f5b82ff45302cd6748a58868611a3dbe89211cdd/.github/ISSUE_TEMPLATE/performance.yml) describes the capture artifacts. - [Current exception-safe graph publication](https://github.com/boykopovar/AnyPS5/blob/3f20e4b42d97787cbb8bca7ac0c050267f0d70d9/core/relinker/relinker/src/analysis/UnusedNidFilter/ControlFlowGraph.cpp#L192-L202) and [the new allocation-failure regression](https://github.com/boykopovar/AnyPS5/blob/3f20e4b42d97787cbb8bca7ac0c050267f0d70d9/core/relinker/relinker/tests/ControlFlowGraphTests.cpp#L299-L318). ## Not verified I did not reproduce the relinker benchmark, the reported 543-test suite, or the allocation-failure control locally. The hosted performance requirement remains unresolved even though hosted relinker checks passed. ## To get this to a good state Provide the matched performance artifacts required by the repository or record a maintainer-approved exception and resolve the performance label. I will recheck the evidence and exact head afterward.
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!13825
No description provided.