Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
f251a7d0fa | |||
cfdf0267e9 | |||
0c5a88a08f | |||
261f86d664 |
12327
package-lock.json
generated
12327
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -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
8
ts/00_commitinfo_data.ts
Normal 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'
|
||||||
|
}
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user