@bitliner/timer

Timer to measure execution time

Usage no npm install needed!

<script type="module">
  import bitlinerTimer from 'https://cdn.skypack.dev/@bitliner/timer';
</script>

README

timer

Timer to measure execution time

Usage

t = new Time('some-label'); // start of timer

// ... any code ...

t.print(); // it prints seconds from start of timer