This content originally appeared on Bram.us and was authored by Bramus!
From the Polymer team:
Tachometer is a tool for running benchmarks in web browsers. It uses repeated sampling and statistics to reliably identify even tiny differences in runtime.
To compare two files, run it like so:
npx tachometer variant1.html variant2.html
Tachometer will open Chrome and loads each HTML file, measuring the time between bench.start()
and bench.stop()
that you need to add to your code. It round-robins between the files, running each at least 50 times, and will output a comparison table.
What’s very interesting is that it has support for swapping NPM dependencies, so that you can measure how these impact performance. Tachometer comes with WebDriver plugins for Chrome, Safari, Firefox, and Internet Explorer.
This content originally appeared on Bram.us and was authored by Bramus!

Bramus! | Sciencx (2021-10-14T22:12:03+00:00) Tachometer – Statistically rigorous benchmark runner for the web. Retrieved from https://www.scien.cx/2021/10/14/tachometer-statistically-rigorous-benchmark-runner-for-the-web/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.