Skip to content

Commit fda098e

Browse files
committed
feat: implement benchmarks for TheAlgorithms (backtracking, big_interger, bit_manipulation)
1 parent 3a1c877 commit fda098e

File tree

3 files changed

+333
-12
lines changed

3 files changed

+333
-12
lines changed

Cargo.lock

Lines changed: 117 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/divan_compat/examples/Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ publish = false
77
license = "MIT OR Apache-2.0"
88

99
[dependencies]
10+
the_algorithms_rust = { git = "https://github.com/TheAlgorithms/Rust/", rev = "ae10da6afebe2c138db410b9edd8607c9ac706f0", features = [
11+
"big-math",
12+
] }
1013
fastrand = "2.3.0"
1114
divan = { package = "codspeed-divan-compat", path = ".." }
12-
15+
num-bigint = "0.4.6"
1316
[[bench]]
1417
name = "math"
1518
harness = false
@@ -21,3 +24,7 @@ harness = false
2124
[[bench]]
2225
name = "time"
2326
harness = false
27+
28+
[[bench]]
29+
name = "the_algorithms"
30+
harness = false

0 commit comments

Comments
 (0)