-
Notifications
You must be signed in to change notification settings - Fork 9
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 benchmarks #59
Add benchmarks #59
Conversation
It isn't working because htsget-rs uses the file schema, which isn't supported by reqwest
9b3aae2
to
fde34d3
Compare
fde34d3
to
5e7bf21
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.
Fantastic work here, Daniel, well done!
Other than the couple of minor comments I left, I'd save one static benchmark that cleary shows the performance difference of the reference implementation against htsget-rs, as mentioned in Slack:
Where does criterion-rs store the different results for the run(s)? Does it commit the .jsons back to the repository or save it in the GitHub Actions CI’s cache?
I’m thinking about having some sort of static plot in the README and then refer to the series of plots generated across releases, so that people can easily track the progress?
As for the commiting .htmls and jsons back to the repo... maybe https://github.com/boa-dev/criterion-compare-action is a better solution actually? |
9ade430
to
d0c80e9
Compare
It seems the action doesn't work :(
I'll put an issue |
86a1a99
to
0644688
Compare
0644688
to
5b1f429
Compare
I think I found a work-around! Although it means the criterion action will have to run twice |
Well, it failed again, but I think it is because it is trying to execute the benchmarks in the main branch, where it fails. Tomorrow I'll make a fork and try it 😥 |
…arks � Conflicts: � .github/workflows/action.yml � htsget-http-actix/Cargo.toml � htsget-http-actix/src/handlers/blocking/get.rs � htsget-http-actix/src/handlers/blocking/mod.rs � htsget-http-actix/src/handlers/blocking/post.rs � htsget-http-actix/src/lib.rs � htsget-http-actix/src/main.rs � htsget-http-core/src/blocking/mod.rs � htsget-http-core/src/json_response.rs � htsget-http-core/src/lib.rs � htsget-search/Cargo.toml � htsget-search/src/htsget/bam_search.rs � htsget-search/src/htsget/bcf_search.rs � htsget-search/src/htsget/blocking/bam_search.rs � htsget-search/src/htsget/blocking/bcf_search.rs � htsget-search/src/htsget/blocking/cram_search.rs � htsget-search/src/htsget/blocking/from_storage.rs � htsget-search/src/htsget/blocking/vcf_search.rs � htsget-search/src/htsget/cram_search.rs � htsget-search/src/htsget/from_storage.rs � htsget-search/src/htsget/vcf_search.rs � htsget-search/src/storage/blocking/local.rs � htsget-search/src/storage/local.rs
…arks � Conflicts: � .gitignore
…benchmarks � Conflicts: � .gitignore
…benchmarks � Conflicts: � htsget-http-actix/Cargo.toml � htsget-http-actix/benches/request-benchmark.rs � htsget-search/src/storage/axum_server.rs
* Add more descriptive errors. * LocalStorage no longer exposes path. * Fix all tests related to new localstorage changes. * Update README.
…benchmarks � Conflicts: � htsget-test-utils/src/server_tests.rs
@brainstorm I think this might just be done now. Thanks a lot @CastilloDel for all the code and guidance on how to structure the benchmarks. Some recent changes:
|
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.
Closes #46
Before this is ready to get merge I need to add benchmarks for the htsget-search crate and I want to add running the benchmarks to the GitHub actions