Adapted from https://gist.github.com/snapwich/7604b2d827f320e470a07e088e0293f3
Compare solutions for finding elements
Comparison of drawing a path2d object vs using drawImage with an svg
Compare the new ES6 spread operator with the traditional concat() method
<div id='test'></div>
Performance measure can be slow
Create Your benchmarks
FAQ: FAQ
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net
Python benchmarks support: Pyodide