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

Micro benchmarks for interpreter performance #119

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

smarr
Copy link
Member

@smarr smarr commented Mar 26, 2024

This PR adds a few microbenchmarks to assess the performance of access operations to locals and trivial message sends.

These benchmarks are used to investigate the performance of the bytecode loops on different SOM interpreters.

By having the relevant operation under investigation repeated 30 explicitly in the body of the inlined while loop, I am relatively confident that the overall execution time of the benchmark should be dominated by exactly the bytecodes I am interested in.

Doing it only once, would result in more focus on the loop-related bytecodes, which was not the goal here.

@OctaveLarose, this may be interesting for you.

@smarr smarr merged commit 312d77a into SOM-st:master Mar 26, 2024
6 checks passed
@smarr smarr deleted the micro-benchmarks branch March 26, 2024 14:13
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.

1 participant