Skip to content

Helper to log event loop statistics (intended for freeze-blog)

License

Notifications You must be signed in to change notification settings

smyte/node-event-loop-stats

Repository files navigation

Build Status Coverage Status MIT license

Event loop timer

This was primarily written to provide accurate event loop statistics for our blog post on the node event loop.

const EventLoopMonitor = require("node-event-loop-stats").EventLoopMonitor;

const monitor = new EventLoopMonitor();
monitor.start();
setInterval(() => {
  console.log("Event loop: " + monitor.getStatsString());
}, 1000);

Setting travis and coveralls badges

  1. Sign in to travis and activate the build for your project.
  2. Sign in to coveralls and activate the build for your project.

About

Helper to log event loop statistics (intended for freeze-blog)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published