Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mono] Reduce number of reallocs inside interp_create_var_explicit #100801

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

kg
Copy link
Member

@kg kg commented Apr 9, 2024

In my non-blazor startup harness, interp_create_var_explicit is ~1.64% of startup time, inclusive. This reduces it to ~0.89%

Copy link
Contributor

Tagging subscribers to this area: @BrzVlad, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

@lewing
Copy link
Member

lewing commented Apr 11, 2024

@kg is this ready to merge?

@kg kg merged commit 1794d65 into dotnet:main Apr 11, 2024
76 of 79 checks passed
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
…otnet#100801)

During startup we realloc the vars table a lot, so pre-reserve some spare space in it to minimize the number of reallocs
@github-actions github-actions bot locked and limited conversation to collaborators May 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants