Skip to content

Commit

Permalink
Expand benchmarks
Browse files Browse the repository at this point in the history
* Add benchmarks for basic ops (add, sub, mul, div, etc.) for the
  decimal types.
* Use seeded rng for reproducible results.
* Use a longer measurement period for more consistant results.
  • Loading branch information
jean-airoldie committed Oct 16, 2021
1 parent 7e76353 commit d308c73
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 148 deletions.
4 changes: 3 additions & 1 deletion dec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ static_assertions = "1.1.0"

[dev-dependencies]
criterion = "0.3.0"
rand = "0.7.3"
itertools = "0.10.1"
rand = "0.8.4"
rand_xoshiro = "0.6.0"
serde_test = "1.0.117"

[package.metadata.docs.rs]
Expand Down
Loading

0 comments on commit d308c73

Please sign in to comment.