-
Notifications
You must be signed in to change notification settings - Fork 12
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
Set up benchmarks #108
Set up benchmarks #108
Conversation
Great feature! 😁 I tried It looks fine for
But results are bit unstable for
Changing
Please confirm if |
Thanks. It's a good point.
In this case, do you think |
It's hard to choose but I think |
b813bb3
to
4f9c43a
Compare
I changed
Yes, I think that can be partially realized by meta-tag selector. Automatic change may be more convenient, but it is somewhat difficult. I'll consider it. |
Merged. Thanks for the fix! |
Thank you for the helpful discussion! |
Sets up a benchmark environment using Libra.
cljam is a performance-sensitive project, so that we have to take care with degradation when changing it. Libra provides an easy way to check the performance, which is similar to clojure.test and
lein test
.As a beginning, I added BAM-indexing and depth benchmarks in this PR.
lein libra
runs all defined benchmarks. If you want to run a specific benchmark, you can use:only
selector:lein libra :only cljam.algo.depth-bench
.Libra is still an in-development framework, but I think it has minimum requirements for benchmarking. I plan to add convenient features to it, such as meta-tag selector, CPU/RAM checking, and individual JVMs.