runtime-tracker
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Runtime Tracker

Getting Started

GitHub / npm

npm i runtime-tracker --save

import { RuntimeTracker } from "runtime-tracker";

let A = new RuntimeTracker("A");
A.step("A-1").step("A-1-1");
A.step("A-1").step("A-1-2");
await delay(100);
A.step("A-2");
await delay(200);
A.step("A-3").step("A-3-1");
A.end();
console.log(A.toString());
// [A]: 1,004 ms
//    ├ [A-1]: 1,004 ms
//    │   ├ [A-1-1]: 1,004 ms
//    │   └ [A-1-2]: 1,004 ms
//    ├ [A-2]: 1,004 ms
//    └ [A-3]: 0 ms
//       └ [A-3-1]: 0 ms

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.1
    5
  • 1.2.0
    0
  • 1.1.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i runtime-tracker

Weekly Downloads

5

Version

1.2.1

License

MIT

Unpacked Size

15.6 kB

Total Files

12

Last publish

Collaborators

  • ejay