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

1---2source: tests/integration_tests.rs3assertion_line: 12784info:5  program: hyperfine6  args:7    - "--debug-mode"8    - "--style=none"9    - "--export-json=-"10    - "--runs=2"11    - "--warmup=1"12    - "--command-name=one second"13    - sleep 114    - "--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  },31  "primary_metric": "time_wall_clock",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          },42          "time_cpu": {43            "value": 0.0,44            "unit": "second"45          },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          },65          "time_cpu": {66            "value": 0.0,67            "unit": "second"68          },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": {85        "memory_peak_resident": {86          "unit": "byte",87          "count": 2,88          "mean": 0.0,89          "stddev": 0.0,90          "median": 0.0,91          "min": 0.0,92          "max": 0.093        },94        "time_cpu": {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        },112        "time_user": {113          "unit": "second",114          "count": 2,115          "mean": 0.0,116          "stddev": 0.0,117          "median": 0.0,118          "min": 0.0,119          "max": 0.0120        },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.0129        }130      }131    },132    {133      "command": "sleep 2",134      "measurements": [135        {136          "time_wall_clock": {137            "value": 2.0,138            "unit": "second"139          },140          "time_cpu": {141            "value": 0.0,142            "unit": "second"143          },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          },163          "time_cpu": {164            "value": 0.0,165            "unit": "second"166          },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": {183        "memory_peak_resident": {184          "unit": "byte",185          "count": 2,186          "mean": 0.0,187          "stddev": 0.0,188          "median": 0.0,189          "min": 0.0,190          "max": 0.0191        },192        "time_cpu": {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        },210        "time_user": {211          "unit": "second",212          "count": 2,213          "mean": 0.0,214          "stddev": 0.0,215          "median": 0.0,216          "min": 0.0,217          "max": 0.0218        },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.0227        }228      }229    }230  ]231}232233234----- stderr -----