commit | 49de2bbff4daae7c68633e2f37f22f657ecc9629 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Jun 30 23:12:08 2020 +0200 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Jun 30 23:12:08 2020 +0200 |
tree | 9d1ce81870807a9ec2da95d8ed85b5d88a40a476 | |
parent | 503275705ef91007a4f68c60691286cc0c91105f [diff] [blame] |
Port benchmarks to Criterion. With Criterion the benchmarks work on stable Rust, too. Change-Id: I0d460ffd265e82a21c625c41930dcce7521e34af
diff --git a/Cargo.toml b/Cargo.toml index ac7eb33..a01cb34 100644 --- a/Cargo.toml +++ b/Cargo.toml
@@ -10,6 +10,14 @@ opt-level = 3 debug = false +[[bench]] +name = "benchmarks" +harness = false + +[dev-dependencies] +criterion = "0.3.3" +criterion_bencher_compat = "0.3.3" + [build-dependencies] bindgen = "0.54.0" cc = "1.0.55"