1.0.1 • Published 11 months ago

nano-performance v1.0.1

Weekly downloads
85
License
MIT
Repository
github
Last release
11 months ago

nano-performance

An extremely lightweight node module that measures execution time in nanoseconds.

Created by Agilit-e

Installation

Using npm:

npm install nano-performance

Display output in milliseconds (default):

import { timeStart, timeEnd } from "nano-performance";

timeStart("Test");

setTimeout(function () {
  timeEnd("Test");
}, 10);

Output = Test: 11.086301 ms

Display output in nanoseconds:

import { timeStart, timeEnd } from "nano-performance";

timeStart("Test");

setTimeout(function () {
  timeEnd("Test", "ns");
}, 10);

Output = Test: 11086301 ns

1.0.1

11 months ago

1.0.0

1 year ago

1.0.1-rc-2

1 year ago

1.0.1-rc-1

1 year ago

1.0.1-rc-4

1 year ago

1.0.1-rc-3

1 year ago

1.0.1-rc-5

1 year ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago