A plugin for measuring startup time with minimal performance impact.
Go to file
2017-03-26 22:02:18 +02:00
dist now testing properly 2017-03-26 22:01:33 +02:00
test now testing properly 2017-03-26 22:01:33 +02:00
ts now testing properly 2017-03-26 22:01:33 +02:00
.gitignore clean up and update deps 2017-02-17 18:56:58 +01:00
.gitlab-ci.yml add new ci 2017-03-26 22:02:18 +02:00
LICENSE clean up and update deps 2017-02-17 18:56:58 +01:00
npmextra.json add npmextra.json 2016-08-20 07:32:44 +02:00
package.json now testing properly 2017-03-26 22:01:33 +02:00
README.md now testing properly 2017-03-26 22:01:33 +02:00
tslint.json now adhering to standardjs 2016-09-15 14:45:58 +02:00
yarn.lock now testing properly 2017-03-26 22:01:33 +02:00

early

minimal and fast loading plugin for startup time measuring

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

// Put the following at the start of your module
import * as early from "early";
early.start("myModuleName");
/*
do your loading stuff
*/
early.stop().then((loadingTime:number) => { // loadingTime in milliseconds

}); // stop "early" when your module is ready

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH

repo-footer