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

Add compiler benchmarks #9158

Merged
merged 22 commits into from
Mar 1, 2024
Merged

Conversation

Akirathan
Copy link
Member

@Akirathan Akirathan commented Feb 23, 2024

Closes #8419

Pull Request Description

Add compiler benchmarks to engine/runtime-benchmarks. All the benchmarks generate source code on the fly into engine/runtime-benchmarks/target/bench-data directory. Random data generators are set with the same seed. For the convenience of reviewers, I am attaching the benchmark sources in bench-data.zip.

I have created benchmarks that measure the performance of a whole module compilation, and benchmarks that measure the performance of inline compilation. They directly call run and runInline methods on org.enso.compiler.Compiler.

Important Notes

@Akirathan Akirathan self-assigned this Feb 23, 2024
@Akirathan Akirathan force-pushed the wip/akirathan/8419-compiler-benchmarks branch from 04651c8 to bbf1464 Compare February 26, 2024 12:35
@Akirathan Akirathan force-pushed the wip/akirathan/8419-compiler-benchmarks branch from bbf1464 to 5c8da15 Compare February 26, 2024 12:35
@Akirathan Akirathan added the CI: No changelog needed Do not require a changelog entry for this PR. label Feb 27, 2024
@Akirathan Akirathan marked this pull request as ready for review February 27, 2024 17:15
@JaroslavTulach
Copy link
Member

I am attaching the benchmark sources in bench-data.zip.

Very nice!

@Akirathan Akirathan added the CI: Ready to merge This PR is eligible for automatic merge label Mar 1, 2024
@mergify mergify bot merged commit 96bfcb3 into develop Mar 1, 2024
26 of 27 checks passed
@mergify mergify bot deleted the wip/akirathan/8419-compiler-benchmarks branch March 1, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add benchmarks to runtime-compiler
2 participants