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

Rust port of `criterion` for benchmarking #651

Closed
steveklabnik opened this Issue Jan 21, 2015 · 4 comments

Comments

Projects
None yet
5 participants
@steveklabnik
Copy link
Member

steveklabnik commented Jan 21, 2015

Issue by graydon
Wednesday May 29, 2013 at 21:22 GMT

For earlier discussion, see rust-lang/rust#6812

This issue was labelled with: A-an-interesting-project, A-benchmarks, A-instrumentation, A-libs, I-enhancement in the Rust repository


The built in unit tester presently contains some very crude one-off automated benchmarking stuff. It was initially a clone of the Go testing.B benchmark system (http://golang.org/pkg/testing/#B) but started to drift towards doing statistical measurement in order to get a more stable signal.

I believe Bryan O'Sullivan's criterion library (https://github.com/bos/criterion) is the state of the art here. We should port / emulate whatever it does well.

@lucy

This comment has been minimized.

Copy link

lucy commented May 1, 2015

Core_bench is also something to look at. It is broadly similar to criterion but has a possibly better way of estimating costs.
https://blogs.janestreet.com/?p=608
https://github.com/janestreet/core_bench

@briansmith

This comment has been minimized.

Copy link

briansmith commented Oct 26, 2015

Is this something that would affect the API, or is this purely an implementation detail? In particular, is this something that can be deferred past the stabilization of the benchmarking interface for stable Rust?

@kmcallister

This comment has been minimized.

Copy link
Contributor

kmcallister commented Dec 30, 2015

criterion.rs is a thing that exists now.

@Centril Centril added the T-libs label Feb 23, 2018

@Centril

This comment has been minimized.

Copy link
Contributor

Centril commented Feb 23, 2018

Since criterion.rs exists now, I'm closing this.

@Centril Centril closed this Feb 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.