hyperfine 2.0.0-alpha.2

A command-line benchmarking tool
---
source: tests/integration_tests.rs
assertion_line: 1278
info:
  program: hyperfine
  args:
    - "--debug-mode"
    - "--style=none"
    - "--export-json=-"
    - "--runs=2"
    - "--warmup=1"
    - "--command-name=one second"
    - sleep 1
    - "--command-name=sleep 2"
    - sleep 2
---
success: true
exit_code: 0
----- stdout -----

{
  "schema_version": 2,
  "metadata": {
    "hyperfine_version": "[hyperfine_version]",
    "start_time": "[start_time]",
    "platform": {
      "os": "[os]",
      "architecture": "[architecture]"
    }
  },
  "primary_metric": "time_wall_clock",
  "results": [
    {
      "command": "sleep 1",
      "name": "one second",
      "measurements": [
        {
          "time_wall_clock": {
            "value": 1.0,
            "unit": "second"
          },
          "time_cpu": {
            "value": 0.0,
            "unit": "second"
          },
          "time_user": {
            "value": 0.0,
            "unit": "second"
          },
          "time_system": {
            "value": 0.0,
            "unit": "second"
          },
          "memory_peak_resident": {
            "value": 0.0,
            "unit": "byte"
          },
          "exit_code": 0
        },
        {
          "time_wall_clock": {
            "value": 1.0,
            "unit": "second"
          },
          "time_cpu": {
            "value": 0.0,
            "unit": "second"
          },
          "time_user": {
            "value": 0.0,
            "unit": "second"
          },
          "time_system": {
            "value": 0.0,
            "unit": "second"
          },
          "memory_peak_resident": {
            "value": 0.0,
            "unit": "byte"
          },
          "exit_code": 0
        }
      ],
      "summary": {
        "memory_peak_resident": {
          "unit": "byte",
          "count": 2,
          "mean": 0.0,
          "stddev": 0.0,
          "median": 0.0,
          "min": 0.0,
          "max": 0.0
        },
        "time_cpu": {
          "unit": "second",
          "count": 2,
          "mean": 0.0,
          "stddev": 0.0,
          "median": 0.0,
          "min": 0.0,
          "max": 0.0
        },
        "time_system": {
          "unit": "second",
          "count": 2,
          "mean": 0.0,
          "stddev": 0.0,
          "median": 0.0,
          "min": 0.0,
          "max": 0.0
        },
        "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
        }
      }
    },
    {
      "command": "sleep 2",
      "measurements": [
        {
          "time_wall_clock": {
            "value": 2.0,
            "unit": "second"
          },
          "time_cpu": {
            "value": 0.0,
            "unit": "second"
          },
          "time_user": {
            "value": 0.0,
            "unit": "second"
          },
          "time_system": {
            "value": 0.0,
            "unit": "second"
          },
          "memory_peak_resident": {
            "value": 0.0,
            "unit": "byte"
          },
          "exit_code": 0
        },
        {
          "time_wall_clock": {
            "value": 2.0,
            "unit": "second"
          },
          "time_cpu": {
            "value": 0.0,
            "unit": "second"
          },
          "time_user": {
            "value": 0.0,
            "unit": "second"
          },
          "time_system": {
            "value": 0.0,
            "unit": "second"
          },
          "memory_peak_resident": {
            "value": 0.0,
            "unit": "byte"
          },
          "exit_code": 0
        }
      ],
      "summary": {
        "memory_peak_resident": {
          "unit": "byte",
          "count": 2,
          "mean": 0.0,
          "stddev": 0.0,
          "median": 0.0,
          "min": 0.0,
          "max": 0.0
        },
        "time_cpu": {
          "unit": "second",
          "count": 2,
          "mean": 0.0,
          "stddev": 0.0,
          "median": 0.0,
          "min": 0.0,
          "max": 0.0
        },
        "time_system": {
          "unit": "second",
          "count": 2,
          "mean": 0.0,
          "stddev": 0.0,
          "median": 0.0,
          "min": 0.0,
          "max": 0.0
        },
        "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
        }
      }
    }
  ]
}


----- stderr -----