-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move benchmarks to a new
ring-bench
crate.
Move the Criterion.rs dependency out of *ring* into a new `ring-benches` crate. This speeds up many build scenerios by eliminating a bunch of dependencies from *ring*'s dependency tree for `cargo test`.
- Loading branch information
1 parent
f3273af
commit 3d396bd
Showing
5 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
edition = "2021" | ||
name = "ring-bench" | ||
publish = false | ||
version = "0.1.0" | ||
|
||
[dependencies] | ||
ring = { path = "../" } | ||
|
||
[dev-dependencies] | ||
criterion = { version = "0.4", default-features = false } | ||
|
||
[[bench]] | ||
name = "aead" | ||
harness = false | ||
path = "aead.rs" | ||
|
||
[[bench]] | ||
name = "x25519" | ||
harness = false | ||
path = "x25519.rs" |
File renamed without changes.
File renamed without changes.