Skip to content
Myr

integration_tests__json_export_single_run.snap

This file

Path

tests/snapshots/integration_tests__json_export_single_run.snap

108 lines · 2.1 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: 1294

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

lines 4–26why, one step back
4info:
5 program: hyperfine6 args:7 - "--debug-mode"8 - "--style=none"9 - "--export-json=-"10 - "--runs=1"11 - sleep 112---13success: true14exit_code: 015----- stdout -----1617{18 "schema_version": 2,19 "metadata": {20 "hyperfine_version": "[hyperfine_version]",21 "start_time": "[start_time]",22 "platform": {23 "os": "[os]",24 "architecture": "[architecture]"25 }26 },

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

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

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

lines 28–36why, one step back
28 "results": [
29 {30 "command": "sleep 1",31 "measurements": [32 {33 "time_wall_clock": {34 "value": 1.0,35 "unit": "second"36 },

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

lines 37–40why, one step back
37 "time_cpu": {
38 "value": 0.0,39 "unit": "second"40 },

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

lines 41–56why, one step back
41 "time_user": {
42 "value": 0.0,43 "unit": "second"44 },45 "time_system": {46 "value": 0.0,47 "unit": "second"48 },49 "memory_peak_resident": {50 "value": 0.0,51 "unit": "byte"52 },53 "exit_code": 054 }55 ],56 "summary": {

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

lines 57–58why, one step back
57 "memory_peak_resident": {
58 "unit": "byte",

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

line 59why, one step back
59 "count": 1,

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

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

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

line 61why, one step back
61 "stddev": null,

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

lines 62–64why, one step back
62 "median": 0.0,
63 "min": 0.0,64 "max": 0.0

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

line 65why, one step back
65 },

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

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

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

lines 67–83why, one step back
67 "unit": "second",
68 "count": 1,69 "mean": 0.0,70 "stddev": null,71 "median": 0.0,72 "min": 0.0,73 "max": 0.074 },75 "time_system": {76 "unit": "second",77 "count": 1,78 "mean": 0.0,79 "stddev": null,80 "median": 0.0,81 "min": 0.0,82 "max": 0.083 },

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

lines 84–85why, one step back
84 "time_user": {
85 "unit": "second",

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

lines 86–91why, one step back
86 "count": 1,
87 "mean": 0.0,88 "stddev": null,89 "median": 0.0,90 "min": 0.0,91 "max": 0.0

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

lines 92–100why, one step back
92 },
93 "time_wall_clock": {94 "unit": "second",95 "count": 1,96 "mean": 1.0,97 "stddev": null,98 "median": 1.0,99 "min": 1.0,100 "max": 1.0

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

lines 101–108why, one step back
101 }
102 }103 }104 ]105}106107108----- stderr -----