mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 17:00:18 +00:00
Runs => Measurements
This commit is contained in:
1 parent
8ba632c954
commit
d4c6b53e40
8 files changed
+146
-232
No files matched your search
@@ -205,7 +205,7 @@ fn generate_results(args: &[&'static str]) -> Result<Vec<BenchmarkResult>> {
|
||||
fn scheduler_basic() -> Result<()> {
|
||||
insta::assert_yaml_snapshot!(generate_results(&["--runs=2", "sleep 0.123", "sleep 0.456"])?, @r#"
|
||||
- command: sleep 0.123
|
||||
runs:
|
||||
measurements:
|
||||
- wall_clock_time: 0.123
|
||||
user_time: 0
|
||||
system_time: 0
|
||||
@@ -217,7 +217,7 @@ fn scheduler_basic() -> Result<()> {
|
||||
memory_usage_byte: 0
|
||||
exit_code: 0
|
||||
- command: sleep 0.456
|
||||
runs:
|
||||
measurements:
|
||||
- wall_clock_time: 0.456
|
||||
user_time: 0
|
||||
system_time: 0
|
||||
|
||||
Reference in new issue
Block a user