Skip to content

Commit d308c73

Browse files
committed
Expand benchmarks
* 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.
1 parent 7e76353 commit d308c73

File tree

2 files changed

+238
-148
lines changed

2 files changed

+238
-148
lines changed

dec/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ static_assertions = "1.1.0"
1919

2020
[dev-dependencies]
2121
criterion = "0.3.0"
22-
rand = "0.7.3"
22+
itertools = "0.10.1"
23+
rand = "0.8.4"
24+
rand_xoshiro = "0.6.0"
2325
serde_test = "1.0.117"
2426

2527
[package.metadata.docs.rs]

0 commit comments

Comments
 (0)