Compare commits

..

4 Commits

Author SHA1 Message Date
f251a7d0fa 4.0.3 2022-06-02 00:31:40 +02:00
cfdf0267e9 fix(core): update 2022-06-02 00:31:39 +02:00
0c5a88a08f 4.0.2 2022-03-22 00:14:49 +01:00
261f86d664 fix(core): update 2022-03-22 00:14:49 +01:00
4 changed files with 2053 additions and 10296 deletions

12327
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/early", "name": "@pushrocks/early",
"version": "4.0.1", "version": "4.0.3",
"private": false, "private": false,
"description": "minimal and fast loading plugin for startup time measuring", "description": "minimal and fast loading plugin for startup time measuring",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -24,13 +24,13 @@
}, },
"homepage": "https://gitlab.com/pushrocks/early#readme", "homepage": "https://gitlab.com/pushrocks/early#readme",
"devDependencies": { "devDependencies": {
"@gitzone/tsrun": "^1.2.31", "@gitzone/tsbuild": "^2.1.63",
"@gitzone/tstest": "^1.0.69", "@gitzone/tsrun": "^1.2.35",
"@gitzone/tstest": "^1.0.71",
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/tapbundle": "^5.0.2" "@pushrocks/tapbundle": "^5.0.3"
}, },
"dependencies": { "dependencies": {
"@gitzone/tsbuild": "^2.1.60",
"@pushrocks/consolecolor": "^2.0.1", "@pushrocks/consolecolor": "^2.0.1",
"@pushrocks/smartpromise": "^3.1.7" "@pushrocks/smartpromise": "^3.1.7"
}, },

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/early',
version: '4.0.3',
description: 'minimal and fast loading plugin for startup time measuring'
}

View File

@ -6,8 +6,8 @@ import * as process from 'process';
export class HrtMeasurement { export class HrtMeasurement {
nanoSeconds: number = null; nanoSeconds: number = null;
milliSeconds: number = null; milliSeconds: number = null;
private _hrTimeStart = null; private _hrTimeStart: [number, number] = null;
private _hrTimeStopDiff = null; private _hrTimeStopDiff: [number, number] = null;
private _started: boolean = false; private _started: boolean = false;
/** /**