⚡
usefultools.dev
ms

Benchmark Results Builder

NEW

Benchmark results builder: paste run timings for each implementation and get mean, median, std dev, ops/s, relative speed, a Markdown table, CSV and a bar chart.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Input format
  • One implementation per line: name: t1, t2, t3. The name ends at the first :, = or tab.
  • Without a separator, a comma after the name works too: fast, 1.2, 1.3.
  • Timings are numbers split by commas, semicolons or spaces, one per run, in the unit chosen below.
  • A timing may carry its own unit and override the default: 12.5ms, 0.0125s, 800us, 950ns.
  • Blank lines and lines starting with # are ignored. Timings must be greater than 0. Up to 50 lines.
ImplementationRunsMean (ms)Median (ms)Min (ms)Max (ms)Std dev (ms)Ops/sRelative
for loop512.4412.4012.1012.800.27 (2.2%)80.391.00x (fastest)
reduce514.2014.2013.9014.500.22 (1.6%)70.421.14x slower
Array.map516.0416.0015.7016.400.27 (1.7%)62.341.29x slower

Operations per second (higher is quicker)

  • for loop80.39 ops/s
  • reduce70.42 ops/s
  • Array.map62.34 ops/s
⚡

Quick Examples

Typical inputs and the results this tool produces.

Stats
for loop: 12.4, 12.1, 12.8, 12.3, 12.6 (ms)
mean 12.44 ms, median 12.40 ms, 80.39 ops/s
Relative
Array.map: 15.9, 16.2, 15.7, 16.0, 16.4 (ms)
mean 16.04 ms, std dev 0.27 ms, 1.29x slower
fast, 1.2, 1.3 and slow, 2.5, 2.6 (ms)
slow is 2.04x slower than fast
Ops/s
only: 5 (µs), 1000 operations per timing
200,000,000 ops/s
📖

Overview

The benchmark results builder turns raw timings into a report you can paste into a README, pull request or blog post. Enter one line per implementation with the time of each run, and it calculates the mean, median, minimum, maximum, sample standard deviation, operations per second and how much slower each option is than the quickest.

The output comes as a table, a Markdown table, CSV for spreadsheets and a simple bar chart of operations per second. Timings can be in seconds, milliseconds, microseconds or nanoseconds, and single values can carry their own unit such as 0.0125s.

You can skip warm-up runs and set how many operations each timing covers. Everything is calculated in your browser and nothing is uploaded.

Why use this tool?

  • Mean, median, min, max and std dev in one pass
  • Markdown and CSV ready to paste
  • Mixed units such as 12ms and 0.2s per value
  • Skip warm-up runs before averaging
  • Private: nothing leaves your browser
⭐

Features

📊

Full statistics

Mean, median, min, max, sample standard deviation and relative deviation.

⚡

Operations per second

Throughput from the mean time and the operations per timing you set.

⚖️

Relative speed

Each row shows how many times slower it is than the quickest mean.

📝

Markdown and CSV

Copy a ready-made table or a CSV file body with units in the headers.

📉

Bar chart

A CSS bar chart of operations per second, no scripts or images.

🔒

Local only

No uploads and no account; the maths runs in your browser.

🛠️

How to Use

1

Paste your timings

Write one line per implementation: a name, a colon, then the run times separated by commas or spaces.

2

Set the unit

Choose the default unit and, if needed, how many warm-up runs to skip and operations per timing.

3

Check the results

Read the table, relative speed and bar chart. Fix any error shown in red.

4

Copy the report

Press Copy Markdown or Copy CSV and paste it into your document.

🤔

Frequently Asked Questions