I ran into this mature (AND dead?) project yesterday: benchmark.js
https://github.com/bestiejs/benchmark.js/
This one is actually archived last year so clearly unmaintained but so far seems to be working great. But no successor fork. I think in this case I will use it, especially because it's in test code and not product.