Merge rand_distr/benches into benches

This commit is contained in:
Diggory Hardy 2024-04-27 08:59:58 +01:00
parent 24b84a09a1
commit e55b1f6ee5
4 changed files with 7 additions and 23 deletions

View File

@ -10,7 +10,14 @@ publish = false
rand = { path = "..", features = ["small_rng", "nightly"] }
rand_pcg = { path = "../rand_pcg" }
rand_chacha = { path = "../rand_chacha" }
rand_distr = { path = "../rand_distr" }
criterion = "0.5"
criterion-cycles-per-byte = "0.6"
[[bench]]
name = "distributions"
path = "src/distributions.rs"
harness = false
[[bench]]
name = "uniform"

View File

@ -1,23 +0,0 @@
[package]
name = "benches"
version = "0.0.0"
authors = ["The Rand Project Developers"]
license = "MIT OR Apache-2.0"
description = "Criterion benchmarks of the rand_distr crate"
edition = "2021"
rust-version = "1.61"
publish = false
[workspace]
[dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
criterion-cycles-per-byte = "0.1"
rand = { path = "../../" }
rand_distr = { path = "../" }
rand_pcg = { path = "../../rand_pcg/" }
[[bench]]
name = "distributions"
path = "src/distributions.rs"
harness = false