testplane 9.2.0 → 9.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testplane",
3
- "version": "9.2.0",
3
+ "version": "9.2.1",
4
4
  "description": "Tests framework based on mocha and wdio",
5
5
  "main": "build/src/index.js",
6
6
  "files": [
@@ -1,22 +1,17 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- /// <reference types="node" />
4
- /// <reference types="mocha" />
5
- /// <reference types="expect-webdriverio" />
6
- /// <reference types="node" />
7
- /// <reference types="node" />
8
- /// <reference types="node" />
9
- /// <reference types="node" />
10
- /// <reference types="node" />
1
+ interface CpuUsage {
2
+ user: number;
3
+ system: number;
4
+ }
11
5
  export interface ProfilerClock {
12
6
  /** High-resolution monotonic time in milliseconds. It is suitable for measuring elapsed time. */
13
7
  now(): number;
14
8
  /** Unix wall-clock timestamp in milliseconds. It is suitable for timestamps shared between processes. */
15
9
  epochNow(): number;
16
10
  /** Process CPU usage since startup, or since `previousValue` when it is supplied. */
17
- cpuUsage(previousValue?: NodeJS.CpuUsage): NodeJS.CpuUsage;
11
+ cpuUsage(previousValue?: CpuUsage): CpuUsage;
18
12
  /** Current-thread CPU usage since startup, or since `previousValue` when it is supplied. */
19
- threadCpuUsage?(previousValue?: NodeJS.CpuUsage): NodeJS.CpuUsage;
13
+ threadCpuUsage?(previousValue?: CpuUsage): CpuUsage;
20
14
  }
21
15
  export declare const systemClock: ProfilerClock;
22
- export declare const cpuUsageToMs: (usage: NodeJS.CpuUsage) => number;
16
+ export declare const cpuUsageToMs: (usage: CpuUsage) => number;
17
+ export {};
@@ -1 +1 @@
1
- {"version":3,"file":"clock.js","sourceRoot":"","sources":["../../../../src/profiler/runtime/clock.ts"],"names":[],"mappings":";;;AAAA,qDAA8C;AAajC,QAAA,WAAW,GAAkB;IACtC,GAAG,EAAE,GAAG,EAAE,CAAC,6BAAW,CAAC,GAAG,EAAE;IAC5B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;IAC1B,QAAQ,EAAE,CAAC,aAAa,EAAmB,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC;IAC7E,cAAc,EACV,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;QACxC,CAAC,CAAC,CAAC,aAAa,EAAmB,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,aAAa,CAAC;QAC3E,CAAC,CAAC,SAAS;CACtB,CAAC;AAEK,MAAM,YAAY,GAAG,CAAC,KAAsB,EAAU,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAAtF,QAAA,YAAY,gBAA0E"}
1
+ {"version":3,"file":"clock.js","sourceRoot":"","sources":["../../../../src/profiler/runtime/clock.ts"],"names":[],"mappings":";;;AAAA,qDAA8C;AAkBjC,QAAA,WAAW,GAAkB;IACtC,GAAG,EAAE,GAAG,EAAE,CAAC,6BAAW,CAAC,GAAG,EAAE;IAC5B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;IAC1B,QAAQ,EAAE,CAAC,aAAa,EAAY,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC;IACtE,cAAc,EACV,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;QACxC,CAAC,CAAC,CAAC,aAAa,EAAY,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,aAAa,CAAC;QACpE,CAAC,CAAC,SAAS;CACtB,CAAC;AAEK,MAAM,YAAY,GAAG,CAAC,KAAe,EAAU,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAA/E,QAAA,YAAY,gBAAmE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testplane",
3
- "version": "9.2.0",
3
+ "version": "9.2.1",
4
4
  "description": "Tests framework based on mocha and wdio",
5
5
  "main": "build/src/index.js",
6
6
  "files": [