Skip to content

Commit

Permalink
use unforked criterion
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Feb 4, 2025
1 parent 670d255 commit 697329a
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 114 deletions.
166 changes: 60 additions & 106 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@ clap = { version = "4.2.7", default-features = false, features = [
] }
console_error_panic_hook = "0.1.7"
const_format = { version = "0.2.30", features = ["const_generics"] }
criterion = { git = "https://github.com/Anton-4/criterion.rs", features = [
"html_reports",
], rev = "30ea0c5" }
criterion-perf-events = { git = "https://github.com/Anton-4/criterion-perf-events", rev = "0f38c3e" }
criterion = { version = "0.5.1", features = ["html_reports"]}
crossbeam = "0.8.2"
dircpy = "0.3.14"
distance = "0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion nightly_benches/README.me
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Install cargo criterion:
```
cargo install --git https://github.com/Anton-4/cargo-criterion --branch main
cargo install cargo-criterion
```
Necessary to get cache misses...:
```
Expand Down
2 changes: 1 addition & 1 deletion nightly_benches/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fn main() {
println!("""
To run benchmarks:
- Install cargo criterion: cargo install --git https://github.com/Anton-4/cargo-criterion --branch main
- Install cargo criterion: cargo install cargo-criterion
- Necessary to get cache misses...: sudo sh -c 'echo 1 >/proc/sys/kernel/perf_event_paranoid'
- run: cargo criterion
""");
Expand Down
2 changes: 0 additions & 2 deletions nix/builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ let
cargoLock = {
lockFile = ../Cargo.lock;
outputHashes = {
"criterion-0.3.5" = "sha256-+FibPQGiR45g28xCHcM0pMN+C+Q8gO8206Wb5fiTy+k=";
"inkwell-0.4.0" = "sha256-J2mdwf167GhEadEL2XJ39FXeY8roV9aYdhOBfIwbPbE=";
"plotters-0.3.1" = "sha256-noy/RSjoEPZZbOJTZw1yxGcX5S+2q/7mxnUrzDyxOFw=";
"rustyline-9.1.1" = "sha256-aqQqz6nSp+Qn44gm3jXmmQUO6/fYTx7iLph2tbA24Bs=";
};
};
Expand Down

0 comments on commit 697329a

Please sign in to comment.