js-multiple-stopwatch.js
A stopwatch tool let you measure the performance of your code. You can manage multiple stopwatches using this library.
Installation
npm install js-multiple-stopwatch
Quick Start
Just see the code below to learn how to manage multiple stopwatches.
var Stopwatch = ; // start a stopwatchStopwatch; var val = 0;for var i = 1; i <= 10; ++i // using any name in parameter as stopwatch name Stopwatch; for var j = 0; j < 1000000; ++j val += j; Stopwatch; // stop a stopwatchStopwatch; // using ElaspedTime to get execution timeforvar i = 1; i <= 10; ++i console; console;