Alternative performance metrics in the terminal (#986)

This commit is contained in:
David Peter authored and GitHub committed 2026-10-06 15:50:19 +02:00
1 parent 3b64ea1bf5
commit bdbfae9907
43 files changed
+1872 -2056

No files matched your search

@@ -1,5 +1,6 @@
---
source: tests/integration_tests.rs
assertion_line: 1278
info:
program: hyperfine
args:
@@ -8,8 +9,8 @@ info:
- "--export-json=-"
- "--runs=2"
- "--warmup=1"
- "--reference-name=one second"
- "--reference=sleep 1"
- "--command-name=one second"
- sleep 1
- "--command-name=sleep 2"
- sleep 2
---
@@ -27,6 +28,7 @@ exit_code: 0
"architecture": "[architecture]"
}
},
"primary_metric": "time_wall_clock",
"results": [
{
"command": "sleep 1",
@@ -37,6 +39,10 @@ exit_code: 0
"value": 1.0,
"unit": "second"
},
"time_cpu": {
"value": 0.0,
"unit": "second"
},
"time_user": {
"value": 0.0,
"unit": "second"
@@ -56,6 +62,10 @@ exit_code: 0
"value": 1.0,
"unit": "second"
},
"time_cpu": {
"value": 0.0,
"unit": "second"
},
"time_user": {
"value": 0.0,
"unit": "second"
@@ -71,18 +81,17 @@ exit_code: 0
"exit_code": 0
}
],
"is_reference": true,
"summary": {
"time_wall_clock": {
"unit": "second",
"memory_peak_resident": {
"unit": "byte",
"count": 2,
"mean": 1.0,
"mean": 0.0,
"stddev": 0.0,
"median": 1.0,
"min": 1.0,
"max": 1.0
"median": 0.0,
"min": 0.0,
"max": 0.0
},
"time_user": {
"time_cpu": {
"unit": "second",
"count": 2,
"mean": 0.0,
@@ -100,14 +109,23 @@ exit_code: 0
"min": 0.0,
"max": 0.0
},
"memory_peak_resident": {
"unit": "byte",
"time_user": {
"unit": "second",
"count": 2,
"mean": 0.0,
"stddev": 0.0,
"median": 0.0,
"min": 0.0,
"max": 0.0
},
"time_wall_clock": {
"unit": "second",
"count": 2,
"mean": 1.0,
"stddev": 0.0,
"median": 1.0,
"min": 1.0,
"max": 1.0
}
}
},
@@ -119,6 +137,10 @@ exit_code: 0
"value": 2.0,
"unit": "second"
},
"time_cpu": {
"value": 0.0,
"unit": "second"
},
"time_user": {
"value": 0.0,
"unit": "second"
@@ -138,6 +160,10 @@ exit_code: 0
"value": 2.0,
"unit": "second"
},
"time_cpu": {
"value": 0.0,
"unit": "second"
},
"time_user": {
"value": 0.0,
"unit": "second"
@@ -154,16 +180,16 @@ exit_code: 0
}
],
"summary": {
"time_wall_clock": {
"unit": "second",
"memory_peak_resident": {
"unit": "byte",
"count": 2,
"mean": 2.0,
"mean": 0.0,
"stddev": 0.0,
"median": 2.0,
"min": 2.0,
"max": 2.0
"median": 0.0,
"min": 0.0,
"max": 0.0
},
"time_user": {
"time_cpu": {
"unit": "second",
"count": 2,
"mean": 0.0,
@@ -181,14 +207,23 @@ exit_code: 0
"min": 0.0,
"max": 0.0
},
"memory_peak_resident": {
"unit": "byte",
"time_user": {
"unit": "second",
"count": 2,
"mean": 0.0,
"stddev": 0.0,
"median": 0.0,
"min": 0.0,
"max": 0.0
},
"time_wall_clock": {
"unit": "second",
"count": 2,
"mean": 2.0,
"stddev": 0.0,
"median": 2.0,
"min": 2.0,
"max": 2.0
}
}
}