Ran some of the benchmarks and combined them with the examples in order to reduce redundancies.
Showing
- Cargo.lock 19 additions, 0 deletionsCargo.lock
- Cargo.toml 9 additions, 3 deletionsCargo.toml
- benches/barbershop.rs 0 additions, 121 deletionsbenches/barbershop.rs
- benches/ferry.rs 0 additions, 199 deletionsbenches/ferry.rs
- benches/philosophers.rs 0 additions, 191 deletionsbenches/philosophers.rs
- benches/support/mod.rs 0 additions, 79 deletionsbenches/support/mod.rs
- build.rs 106 additions, 0 deletionsbuild.rs
- examples/barbershop.rs 99 additions, 7 deletionsexamples/barbershop.rs
- examples/ferry.rs 112 additions, 7 deletionsexamples/ferry.rs
- examples/philosophers.rs 112 additions, 16 deletionsexamples/philosophers.rs
... | ... | @@ -20,14 +20,20 @@ rayon = "1.5" |
criterion = { version = "0.3.4", features = ["html_reports"]} | ||
itertools = "0.10" | ||
[[bench]] | ||
[build-dependencies] | ||
cc = { version = "1.0", features = ["parallel"] } | ||
[[example]] | ||
name = "barbershop" | ||
bench = true | ||
harness = false | ||
[[bench]] | ||
[[example]] | ||
name = "ferry" | ||
bench = true | ||
harness = false | ||
[[bench]] | ||
[[example]] | ||
name = "philosophers" | ||
bench = true | ||
harness = false |
benches/barbershop.rs
deleted
100644 → 0
benches/ferry.rs
deleted
100644 → 0
benches/philosophers.rs
deleted
100644 → 0
benches/support/mod.rs
deleted
100644 → 0
build.rs
0 → 100644
Please register or sign in to comment