-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Port Criterion to Lean #153
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
Conversation
5ea6f96
to
3729086
Compare
This is great work already! |
19a1918
to
714a7d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments.
Module docstrings are written as
/-!
# A header if necessary
Some markdown text
-/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 🥳 🎊
Ports the core benchmarking and statistical analysis logic from https://github.com/bheisler/criterion.rs to Lean. This includes:
.lake/benches
for comparison between runsUsage:
lake exe bench
will run all of the benchmarks specified in theBenchmarks.Main
file'smain
function.Some TODOs for another PR: