Benchmark Builder
MathCompare multiple operations-per-second measurements and rank them with statistical analysis, showing sample counts and variance rather than trusting one run.
Related Tools
About Benchmark Builder
After running a few performance tests, you end up with a pile of raw "name + number" results, and it is hard to see at a glance who is fastest and by how much. This tool turns those measurements into a clear comparison board: paste one name and value per line, and it parses them, sorts by higher-is-better or lower-is-better, computes each item percentage relative to the best, draws comparison bars, and copies a ranked report in one tap. It converts scattered numbers into a readable leaderboard worth sharing with the team.
How to Use
- Open the Benchmark Builder tool
- Enter the values to calculate
- Adjust the output options as needed
- Click the Calculate button; results appear in real time
- Copy or export the result
Use Cases
- Framework choice — Paste several frameworks ops/sec scores to compare the performance gap visually.
- API comparison — List endpoint latencies and use lower-is-better to surface the slowest one.
- Build speedup — Compare build times before and after to quantify the percent improvement.
- Hardware review — Organize benchmark scores across machines into a shareable ranking shot.
- Algorithm trade-offs — Place implementation throughputs side by side and decide using the relative percentages.
- CI performance regression — Track benchmark results across CI runs and compare before/after numbers to detect performance regressions.
- Library comparison — Compare multiple npm packages, Python libraries, or Go modules head-to-head to pick the fastest option.
FAQ
What input format is required?
One entry per line as "name value", with name and number separated by a colon or space, e.g. Chrome: 185000. It extracts the first number via regex and ignores extra columns.
How do I choose higher- vs lower-is-better?
Pick higher for throughput, ops/sec, and frame rate; pick lower for latency, time, and memory. It only changes the sort direction and the relative-to-best calculation.
How is the relative percentage computed?
In higher-is-better mode it is value divided by the max; in lower-is-better mode it is the min divided by value. The best item is always 100%, and closer to 100% is better.
Can numbers include thousands commas?
Plain numbers are best. Parsing reads only continuous digits and a decimal point, so a comma in 185,000 truncates the read; write 185000 to be safe.
Does it run the benchmarks itself?
No. It only organizes, ranks, and visualizes measurements you already have; it runs no benchmark, so you must obtain the numbers from your testing tools and paste them in.