diff options
| author | Fuwn <[email protected]> | 2021-07-03 13:11:58 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-03 13:11:58 +0000 |
| commit | 6de6d2abb9bb101023fbd32972dce06f2f0c8d43 (patch) | |
| tree | 0a243d3b7c6271223aa99a3b5ffc776f25f9b909 /crates | |
| parent | style(crates): minor changes to crate descriptions (diff) | |
| download | whirl-6de6d2abb9bb101023fbd32972dce06f2f0c8d43.tar.xz whirl-6de6d2abb9bb101023fbd32972dce06f2f0c8d43.zip | |
test(whirl_common): add criterion benchmarks
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/whirl_common/Cargo.toml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crates/whirl_common/Cargo.toml b/crates/whirl_common/Cargo.toml index f10348f..cf68756 100644 --- a/crates/whirl_common/Cargo.toml +++ b/crates/whirl_common/Cargo.toml @@ -17,9 +17,16 @@ publish = false whirl_config = { path = "../whirl_config" } [dev-dependencies] +# Benchmark iai = "0.1.1" +criterion = { version = "0.3.4", features = ["html_reports"] } [[bench]] name = "whirl_common" -path = "../../benches/whirl_common.rs" +path = "../../benches/whirl_common_iai.rs" +harness = false + +[[bench]] +name = "whirl_common_criterion" +path = "../../benches/whirl_common_criterion.rs" harness = false |