0.0.5 • Published 10 years ago

time-eventloop v0.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

time-eventloop Build Status

notify when eventloop ticks are getting delayed

What?

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.

Getting started

npm install time-eventloop

Examples

Usage:

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

Testing

watches for file changes and reruns tests each time

grunt watch 

runs spec tests

grunt test  

produces coverage report

grunt cov   

License

MIT

0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago