notify when eventloop ticks are getting delayed
npm install time-eventloop> notify when eventloop ticks are getting delayed
A small utility that helps you analyze the state of your amazing event loop.
Will notify you when your event loop has become slower than a certain threshold.
npm install time-eventloop
#### Usage:
``javascript`
var timeEventLoop = require('time-eventloop');
timeEventLoop.start(/ { options } /);
#### Options:
_All options are optional. Default values can be seen from here_
__interval__ - (ms) timeloop delay checking interval
__factor__ - constant used to evaluate the differences between real and expected times
__color__ - warning colors according to the delay range
watches for file changes and reruns tests each time
`bash`
grunt watch
runs spec tests
`bash`
grunt test
produces coverage report
`bash``
grunt cov
MIT