Skip to content

Fix #17121 - cache profiler symbol lookups#23291

Open
0-v-0 wants to merge 2 commits into
dlang:masterfrom
0-v-0:issue17121
Open

Fix #17121 - cache profiler symbol lookups#23291
0-v-0 wants to merge 2 commits into
dlang:masterfrom
0-v-0:issue17121

Conversation

@0-v-0

@0-v-0 0-v-0 commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Closes #17121

@thewilsonator

Copy link
Copy Markdown
Contributor

Does this actually fix the issue? what is the performance improvement here? Why 2048?

@0-v-0

0-v-0 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

It improves performance mainly in hot (repeated-call) scenarios. 2048 is balanced size between capacity and efficiency.
Test report: profile_test_report.md

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.

[profile] Improve performance of -profile by factor of 10

2 participants