A plugin for measuring startup time with minimal performance impact.
Go to file
2017-02-03 15:15:36 +01:00
dist update 2016-09-19 00:34:38 +02:00
docs update 2016-09-19 00:34:45 +02:00
test prevent segmentation fault error by directly communicating with process 2016-09-18 23:11:26 +02:00
ts removed unnecessary import 2016-09-19 00:43:58 +02:00
.bithoundrc add bithoundrc 2016-09-18 23:22:55 +02:00
.gitignore update 2016-09-19 00:34:45 +02:00
.gitlab-ci.yml now removing readline correcctly 2016-06-11 23:47:52 +02:00
.npmignore fix 2016-08-20 08:06:41 +02:00
LICENSE Initial commit 2016-05-20 00:59:47 +02:00
npmextra.json add npmextra.json 2016-08-20 07:32:44 +02:00
package.json 2.0.35 2016-09-19 20:50:09 +02:00
README.md improve README 2017-02-03 15:15:36 +01:00
tslint.json now adhering to standardjs 2016-09-15 14:45:58 +02:00

early

minimal and fast loading plugin for startup time measuring

Availabililty

npm git git docs

Status for master

build status coverage report Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

// 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 | © 2016 - 2017 Lossless GmbH

npm