Home
last modified time | relevance | path

Searched refs:nodeTiming (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/sequential/
Dtest-perf-hooks.js11 assert(performance.nodeTiming);
56 assert.strictEqual(performance.nodeTiming.name, 'node');
57 assert.strictEqual(performance.nodeTiming.entryType, 'node');
65 assert.strictEqual(typeof performance.nodeTiming[prop], 'number');
66 const delta = performance.nodeTiming[prop] - props[prop].around;
72 assert.strictEqual(performance.nodeTiming[prop], props[prop],
74 `${performance.nodeTiming[prop]} vs ${props[prop]}`);
/third_party/node/test/parallel/
Dtest-performance-eventlooputil.js12 const { nodeTiming, eventLoopUtilization } = performance;
16 if (nodeTiming.loopStart === -1) {
17 assert.strictEqual(nodeTiming.idleTime, 0);
29 assert.ok(typeof JSON.parse(JSON.stringify(nodeTiming))[p] ===
30 typeof nodeTiming[p]);
60 const idleTime = nodeTiming.idleTime;
85 assert.ok(elu2.idle + elu2.active >= now - nodeTiming.loopStart,
86 `${elu2.idle + elu2.active} < ${now - nodeTiming.loopStart}`);
/third_party/node/lib/
Dperf_hooks.js282 const nodeTiming = new PerformanceNodeTiming(); constant
429 get nodeTiming() { getter in Performance
430 return nodeTiming;
451 if (!marks.has(endMark) && !(endMark in nodeTiming))
502 const ls = nodeTiming.loopStart;
514 const idle = nodeTiming.idleTime;
529 nodeTiming: this.nodeTiming,
/third_party/node/benchmark/perf_hooks/
Dbench-eventlooputil.js6 const { nodeTiming, eventLoopUtilization } = performance;
36 nodeTiming.idleTime; // eslint-disable-line no-unused-expressions
/third_party/node/doc/api/
Dperf_hooks.md161 ### `performance.nodeTiming`
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md1832 …ps://github.com/nodejs/node/commit/395b9a69a1)] - **perf_hooks**: make nodeTiming a first-class ob…