3 ms·
There was a native NodeJS module called "toobusy" that I rewrote a few years back to remove the native dependencies: https://www.npmjs.com/package/toobusy-js h
by STRML 9y ago
There was a native NodeJS module called "toobusy" that I rewrote a few years back to remove the native dependencies:
https://www.npmjs.com/package/toobusy-js https://www.npmjs.com/package/toobusy-js
It's worth checking out - and helps you achieve this goal without necessarily having to come up with a req/s magicnum; instead you measure actual event loop latency to detect a slowdown.
- spraak 9y agoThat's really neat to actually measure event loop latency