Open jochenonline opened 10 years ago
I'm adding a +1 for this. I would love to be able to get back a number. This could be <= to the threshold set. I would like to call toobusy(300) and plot the values over time.
+1 as well.
After some brief code spelunking, I realized it's already there:
toobusy = require 'toobusy'
toobusy.lag()
Is there a chance to not only get a
true
orfalse
ontoobusy()
, but also the measured lag time? This could be used to have a ongoing measurement of the loop's load.