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

Optimize VMFrame Creation #53

Merged
merged 2 commits into from
Aug 11, 2024
Merged

Conversation

smarr
Copy link
Member

@smarr smarr commented Aug 11, 2024

  • move most bits to the constructor
  • do not initialize arguments with nil since they will be set during the call

smarr added 2 commits August 11, 2024 21:03
Though, need to make sure I initialize the bootstrap frame arguments. Otherwise, we may run into uninitialized memory.

Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr force-pushed the optimize-frame-creation branch from 970f3c3 to 4ce1f21 Compare August 11, 2024 20:04
@smarr smarr merged commit 52e8c0e into SOM-st:master Aug 11, 2024
18 checks passed
@smarr smarr deleted the optimize-frame-creation branch August 11, 2024 20:09
@smarr
Copy link
Member Author

smarr commented Aug 16, 2024

Results a bit flaky, not sure: median 0% (min. -19%, max. 18%)
https://rebench.dev/SOMpp/compare/11d1094a50bdb7ec31d01c5e3e8fffe92d400fa0..52e8c0e22132407d148b767db5425d4a0a6a0233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant