Skip to content
Myr

integration_tests__json_export_basic.snap

This file

Path

tests/snapshots/integration_tests__json_export_basic.snap

234 lines · 4.9 KiB

Last changed by

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

History of this file

Take it

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 1–2why, one step back
1---
2source: tests/integration_tests.rs

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 3why, one step back
3assertion_line: 1278

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 4–11why, one step back
4info:
5 program: hyperfine6 args:7 - "--debug-mode"8 - "--style=none"9 - "--export-json=-"10 - "--runs=2"11 - "--warmup=1"

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 12–13why, one step back
12 - "--command-name=one second"
13 - sleep 1

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 14–30why, one step back
14 - "--command-name=sleep 2"
15 - sleep 216---17success: true18exit_code: 019----- stdout -----2021{22 "schema_version": 2,23 "metadata": {24 "hyperfine_version": "[hyperfine_version]",25 "start_time": "[start_time]",26 "platform": {27 "os": "[os]",28 "architecture": "[architecture]"29 }30 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 31why, one step back
31 "primary_metric": "time_wall_clock",

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 32–41why, one step back
32 "results": [
33 {34 "command": "sleep 1",35 "name": "one second",36 "measurements": [37 {38 "time_wall_clock": {39 "value": 1.0,40 "unit": "second"41 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 42–45why, one step back
42 "time_cpu": {
43 "value": 0.0,44 "unit": "second"45 },

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 46–64why, one step back
46 "time_user": {
47 "value": 0.0,48 "unit": "second"49 },50 "time_system": {51 "value": 0.0,52 "unit": "second"53 },54 "memory_peak_resident": {55 "value": 0.0,56 "unit": "byte"57 },58 "exit_code": 059 },60 {61 "time_wall_clock": {62 "value": 1.0,63 "unit": "second"64 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 65–68why, one step back
65 "time_cpu": {
66 "value": 0.0,67 "unit": "second"68 },

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 69–84why, one step back
69 "time_user": {
70 "value": 0.0,71 "unit": "second"72 },73 "time_system": {74 "value": 0.0,75 "unit": "second"76 },77 "memory_peak_resident": {78 "value": 0.0,79 "unit": "byte"80 },81 "exit_code": 082 }83 ],84 "summary": {

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 85–86why, one step back
85 "memory_peak_resident": {
86 "unit": "byte",

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

line 87why, one step back
87 "count": 2,

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 88why, one step back
88 "mean": 0.0,

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

line 89why, one step back
89 "stddev": 0.0,

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 90–92why, one step back
90 "median": 0.0,
91 "min": 0.0,92 "max": 0.0

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

line 93why, one step back
93 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 94why, one step back
94 "time_cpu": {

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 95–111why, one step back
95 "unit": "second",
96 "count": 2,97 "mean": 0.0,98 "stddev": 0.0,99 "median": 0.0,100 "min": 0.0,101 "max": 0.0102 },103 "time_system": {104 "unit": "second",105 "count": 2,106 "mean": 0.0,107 "stddev": 0.0,108 "median": 0.0,109 "min": 0.0,110 "max": 0.0111 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 112–113why, one step back
112 "time_user": {
113 "unit": "second",

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 114–119why, one step back
114 "count": 2,
115 "mean": 0.0,116 "stddev": 0.0,117 "median": 0.0,118 "min": 0.0,119 "max": 0.0

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 120–128why, one step back
120 },
121 "time_wall_clock": {122 "unit": "second",123 "count": 2,124 "mean": 1.0,125 "stddev": 0.0,126 "median": 1.0,127 "min": 1.0,128 "max": 1.0

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 129–139why, one step back
129 }
130 }131 },132 {133 "command": "sleep 2",134 "measurements": [135 {136 "time_wall_clock": {137 "value": 2.0,138 "unit": "second"139 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 140–143why, one step back
140 "time_cpu": {
141 "value": 0.0,142 "unit": "second"143 },

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 144–162why, one step back
144 "time_user": {
145 "value": 0.0,146 "unit": "second"147 },148 "time_system": {149 "value": 0.0,150 "unit": "second"151 },152 "memory_peak_resident": {153 "value": 0.0,154 "unit": "byte"155 },156 "exit_code": 0157 },158 {159 "time_wall_clock": {160 "value": 2.0,161 "unit": "second"162 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 163–166why, one step back
163 "time_cpu": {
164 "value": 0.0,165 "unit": "second"166 },

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 167–182why, one step back
167 "time_user": {
168 "value": 0.0,169 "unit": "second"170 },171 "time_system": {172 "value": 0.0,173 "unit": "second"174 },175 "memory_peak_resident": {176 "value": 0.0,177 "unit": "byte"178 },179 "exit_code": 0180 }181 ],182 "summary": {

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 183–184why, one step back
183 "memory_peak_resident": {
184 "unit": "byte",

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

line 185why, one step back
185 "count": 2,

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 186why, one step back
186 "mean": 0.0,

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

line 187why, one step back
187 "stddev": 0.0,

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 188–190why, one step back
188 "median": 0.0,
189 "min": 0.0,190 "max": 0.0

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

line 191why, one step back
191 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

line 192why, one step back
192 "time_cpu": {

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 193–209why, one step back
193 "unit": "second",
194 "count": 2,195 "mean": 0.0,196 "stddev": 0.0,197 "median": 0.0,198 "min": 0.0,199 "max": 0.0200 },201 "time_system": {202 "unit": "second",203 "count": 2,204 "mean": 0.0,205 "stddev": 0.0,206 "median": 0.0,207 "min": 0.0,208 "max": 0.0209 },

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 210–211why, one step back
210 "time_user": {
211 "unit": "second",

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 212–217why, one step back
212 "count": 2,
213 "mean": 0.0,214 "stddev": 0.0,215 "median": 0.0,216 "min": 0.0,217 "max": 0.0

Alternative performance metrics in the terminal (#986)David Peterbefore adoptionbdbfae9

lines 218–226why, one step back
218 },
219 "time_wall_clock": {220 "unit": "second",221 "count": 2,222 "mean": 2.0,223 "stddev": 0.0,224 "median": 2.0,225 "min": 2.0,226 "max": 2.0

Merge pull request #790 from sharkdp/new-metricsDavid Peterbefore adoptionf26c015

lines 227–234why, one step back
227 }
228 }229 }230 ]231}232233234----- stderr -----