Skip to content

[GC] Hoist reached-list lookups - #1755

Open
Rachit Mehta (rachitmeht) wants to merge 2 commits into
qualcomm:mainfrom
rachitmeht:perf/gc-reached-list-hoist-1754
Open

[GC] Hoist reached-list lookups#1755
Rachit Mehta (rachitmeht) wants to merge 2 commits into
qualcomm:mainfrom
rachitmeht:perf/gc-reached-list-hoist-1754

Conversation

@rachitmeht

@rachitmeht Rachit Mehta (rachitmeht) commented Aug 24, 2026

Copy link
Copy Markdown

Move reached symbol and section list lookups out of the per-relocation path.

On a Release ELD + Release Clang benchmark linking with
--gc-sections over 100 runs, Garbage Collection runtime improved from
0.4516s to 0.4365s.

Resolves #1754

@parth-07 Parth (parth-07) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some performance improvement numbers in the commit message and the PR description.

@rachitmeht
Rachit Mehta (rachitmeht) force-pushed the perf/gc-reached-list-hoist-1754 branch 2 times, most recently from 6baa72b to af0f0f1 Compare August 25, 2026 08:09
Move reached symbol and section list lookups out of the per-relocation path.

On a Release ELD + Release Clang benchmark linking with
--gc-sections over 100 runs, Garbage Collection runtime improved from
0.4516s to 0.4365s.

Resolves qualcomm#1754

Signed-off-by: Rachit Mehta <rachmeht@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GC] Avoid repeated reached-list map lookups per relocation

4 participants