Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.01 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.01 KB

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.