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

Implement basic benchmarking #41

Open
realchonk opened this issue Jul 19, 2024 · 2 comments
Open

Implement basic benchmarking #41

realchonk opened this issue Jul 19, 2024 · 2 comments
Labels
help wanted Extra attention is needed performance

Comments

@realchonk
Copy link
Owner

This is needed, before I do anything performance related.

@realchonk realchonk added help wanted Extra attention is needed performance labels Jul 19, 2024
@realchonk
Copy link
Owner Author

realchonk commented Jul 19, 2024

I have never done proper benchmarking in Rust. @asomers do you have a preferred way of doing it?

@asomers
Copy link
Collaborator

asomers commented Jul 19, 2024

It depends on what you're benchmarking. The program that I mentioned in #34 is a specialized benchmark, written by hand, because it measures the metric "read amplification". But for more common tasks like measuring throughput, I suggest criterion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed performance
Projects
None yet
Development

No branches or pull requests

2 participants