Skip to content

Commit

Permalink
downgrade/pin criterion to v0.3.3 to avoid semver breaking upgrade to…
Browse files Browse the repository at this point in the history
… plotters/edition 2021
  • Loading branch information
tobz committed Jul 20, 2022
1 parent 459c8eb commit 278c0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ wasi = "0.10"

[dev-dependencies]
average = "0.13"
criterion = "0.3"
criterion = "=0.3.3"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test = "0.3"

2 comments on commit 278c0b9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bench-ubuntu-latest

Benchmark suite Current: 278c0b9 Previous: 2e4272e Ratio
stdlib/instant_now 27 ns/iter (± 0) 30 ns/iter (± 2) 0.90
stdlib/instant_delta 58 ns/iter (± 0) 69 ns/iter (± 3) 0.84
quanta/quanta_now 27 ns/iter (± 0) 32 ns/iter (± 2) 0.84
quanta/quanta_now_delta 56 ns/iter (± 0) 66 ns/iter (± 4) 0.85
quanta/quanta_instant_now 33 ns/iter (± 0) 37 ns/iter (± 3) 0.89
quanta/quanta_raw 26 ns/iter (± 0) 31 ns/iter (± 2) 0.84
quanta/quanta_raw_scaled 27 ns/iter (± 0) 31 ns/iter (± 1) 0.87
quanta/quanta_raw_delta 57 ns/iter (± 0) 64 ns/iter (± 14) 0.89
quanta/quanta_recent 2 ns/iter (± 0) 2 ns/iter (± 0) 1
quanta/quanta_instant_recent 1 ns/iter (± 0) 2 ns/iter (± 0) 0.50

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'bench-ubuntu-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 0.1.

Benchmark suite Current: 278c0b9 Previous: 2e4272e Ratio
stdlib/instant_now 27 ns/iter (± 0) 30 ns/iter (± 2) 0.90
stdlib/instant_delta 58 ns/iter (± 0) 69 ns/iter (± 3) 0.84
quanta/quanta_now 27 ns/iter (± 0) 32 ns/iter (± 2) 0.84
quanta/quanta_now_delta 56 ns/iter (± 0) 66 ns/iter (± 4) 0.85
quanta/quanta_instant_now 33 ns/iter (± 0) 37 ns/iter (± 3) 0.89
quanta/quanta_raw 26 ns/iter (± 0) 31 ns/iter (± 2) 0.84
quanta/quanta_raw_scaled 27 ns/iter (± 0) 31 ns/iter (± 1) 0.87
quanta/quanta_raw_delta 57 ns/iter (± 0) 64 ns/iter (± 14) 0.89
quanta/quanta_recent 2 ns/iter (± 0) 2 ns/iter (± 0) 1
quanta/quanta_instant_recent 1 ns/iter (± 0) 2 ns/iter (± 0) 0.50

This comment was automatically generated by workflow using github-action-benchmark.

CC: @tobz

Please sign in to comment.