Skip to content

Commit

Permalink
Merge pull request #1116 from vks/criterion
Browse files Browse the repository at this point in the history
rand_distr: Port benchmarks to Criterion
  • Loading branch information
vks committed May 25, 2021
2 parents a97d94a + a6623cc commit 2732f2d
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 181 deletions.
22 changes: 22 additions & 0 deletions rand_distr/benches/Cargo.toml
@@ -0,0 +1,22 @@
[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 = "2018"
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
181 changes: 0 additions & 181 deletions rand_distr/benches/distributions.rs

This file was deleted.

0 comments on commit 2732f2d

Please sign in to comment.