Benchmark Builder
MathCompare multiple operations-per-second measurements and rank them with statistical analysis to identify the fastest performing code approach.
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. Parsing and sorting happen entirely in your browser, so test data is never sent out. Tip: Bookmark this tool for quick access whenever you need mathematical calculations. All computation happens locally in your browser with instant results.
How to Use
- Open the Benchmark Builder tool page
- Enter or paste your data into the input area
- View the real-time results and use the copy button to get the output
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.
Any browser compatibility requirements?
This tool works in all modern browsers (Chrome, Firefox, Edge, Safari). No plugins or extensions required.
Can I use it offline?
After initial load, most features work offline. The core logic runs entirely in your browser with no network dependency.
Comments
Comments are stored locally in your browser. Configure Giscus for cloud-based comments.