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

use criterion and/or iai for benchmarks #151

Open
cosmicexplorer opened this issue May 24, 2024 · 0 comments
Open

use criterion and/or iai for benchmarks #151

cosmicexplorer opened this issue May 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cosmicexplorer
Copy link
Contributor

Problem

See #93 (comment). criterion and iai are alternative benchmarking harnesses.

Solution

  • criterion has nicer output than the default harness, and some statistical metrics which can be tuned to the precise benchmark requirements.
  • iai is a radically different approach using cachegrind which counts instructions instead of timings.

Result

These benchmark harnesses may complement the performance improvements from #93, and may make it easier to investigate further performance wins in the future.

@cosmicexplorer cosmicexplorer added the enhancement New feature or request label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant