2.2 KiB
2.2 KiB
early
minimal and fast loading plugin for startup time measuring
Availabililty
Status for master
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