Just merged the new experimental `node:bench` module into Node.js main... modeled closely after `node:test`, it adds a basic benchmark runner to core. node --bench benchmark.js
3 reposts33 likes
Just merged the new experimental `node:bench` module into Node.js main... modeled closely after `node:test`, it adds a basic benchmark runner to core. node --bench benchmark.js
3 reposts33 likes
Note that `node:bench` is not a replacement for other more feature rich benchmark tools like @rafaelgss.dev's bench-node www.npmjs.com/package/benc... ... it provides the fundamentals and a set of primitives more capable benchmarks can build on top of
This isn't a plug, but we've developed and used github.com/stdlib-js/st... for 8+ years and have never needed anything more than the max rate, despite the fact that numerical/statistical computing is our entire thing.