2 ms·
Very well said! I'm a pretty sophisticated node dev and I haven't heard of the technique of logging spans whenever the event loop blocks for 100 ms (similar to
by bluelightning2k 2y ago
Very well said!
I'm a pretty sophisticated node dev and I haven't heard of the technique of logging spans whenever the event loop blocks for 100 ms (similar to how you get warnings by default in frameworks/chrome for going over 100 ms on event handlers).
Obviously simple to run a setInterval and compare wall clock, but I would have no idea how to detect the actual issue.