Tachometer – Statistically rigorous benchmark runner for the web

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 …


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.

Tachometer →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » Tachometer – Statistically rigorous benchmark runner for the web." Bramus! | Sciencx - Thursday October 14, 2021, https://www.scien.cx/2021/10/14/tachometer-statistically-rigorous-benchmark-runner-for-the-web/
HARVARD
Bramus! | Sciencx Thursday October 14, 2021 » Tachometer – Statistically rigorous benchmark runner for the web., viewed ,<https://www.scien.cx/2021/10/14/tachometer-statistically-rigorous-benchmark-runner-for-the-web/>
VANCOUVER
Bramus! | Sciencx - » Tachometer – Statistically rigorous benchmark runner for the web. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/14/tachometer-statistically-rigorous-benchmark-runner-for-the-web/
CHICAGO
" » Tachometer – Statistically rigorous benchmark runner for the web." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/10/14/tachometer-statistically-rigorous-benchmark-runner-for-the-web/
IEEE
" » Tachometer – Statistically rigorous benchmark runner for the web." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/10/14/tachometer-statistically-rigorous-benchmark-runner-for-the-web/. [Accessed: ]
rf:citation
» Tachometer – Statistically rigorous benchmark runner for the web | Bramus! | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.