Home
last modified time | relevance | path

Searched refs:eventLoopUtilization (Results 1 – 12 of 12) sorted by relevance

/third_party/node/test/parallel/
Dtest-performance-eventlooputil.js12 const { nodeTiming, eventLoopUtilization } = performance;
13 const elu = eventLoopUtilization();
19 assert.deepStrictEqual(eventLoopUtilization(elu),
21 assert.deepStrictEqual(eventLoopUtilization(elu, eventLoopUtilization()),
33 const elu1 = eventLoopUtilization();
42 const elu2 = eventLoopUtilization(elu1);
43 const elu3 = eventLoopUtilization();
44 const elu4 = eventLoopUtilization(elu3, elu1);
61 const elu1 = eventLoopUtilization();
74 const elu2 = eventLoopUtilization();
[all …]
/third_party/node/test/sequential/
Dtest-worker-eventlooputil.js12 const { eventLoopUtilization, now } = require('perf_hooks').performance;
17 const iaElu = idleActive(eventLoopUtilization());
33 return this.postMessage(eventLoopUtilization());
37 const elu = eventLoopUtilization();
40 return this.postMessage(eventLoopUtilization(elu));
51 if (eventLoopUtilization().idle <= 0)
54 mainElu = eventLoopUtilization();
60 workerELU = worker.performance.eventLoopUtilization;
66 assert.deepStrictEqual(worker.performance.eventLoopUtilization(),
73 const tmpMainElu = eventLoopUtilization(mainElu);
/third_party/node/benchmark/perf_hooks/
Dbench-eventlooputil.js6 const { nodeTiming, eventLoopUtilization } = performance;
43 const elu = eventLoopUtilization();
48 eventLoopUtilization();
56 let elu = eventLoopUtilization();
61 elu = eventLoopUtilization(elu);
/third_party/node/benchmark/worker/
Dbench-eventlooputil.js37 worker.performance.eventLoopUtilization();
47 let elu = worker.performance.eventLoopUtilization();
50 elu = worker.performance.eventLoopUtilization(elu);
57 const t = w.performance.eventLoopUtilization();
/third_party/node/lib/internal/perf/
Dperformance.js38 const eventLoopUtilization = require('internal/perf/event_loop_utilization'); constant
72 eventLoopUtilization: this.eventLoopUtilization(),
141 eventLoopUtilization: { property
145 value: eventLoopUtilization,
Devent_loop_utilization.js7 function eventLoopUtilization(util1, util2) { function
33 module.exports = eventLoopUtilization;
/third_party/node/lib/internal/
Dworker.js281 eventLoopUtilization: FunctionPrototypeBind(eventLoopUtilization, this), property
497 function eventLoopUtilization(util1, util2) { function
/third_party/node/doc/api/
Dperf_hooks.md81 ### `performance.eventLoopUtilization([utilization1[, utilization2]])`
90 `eventLoopUtilization()`.
92 `eventLoopUtilization()` prior to `utilization1`.
98 The `eventLoopUtilization()` method returns an object that contains the
126 const { eventLoopUtilization } = require('node:perf_hooks').performance;
130 const elu = eventLoopUtilization();
132 console.log(eventLoopUtilization(elu).utilization);
141 `eventLoopUtilization()` will lead to undefined behavior. The return values
Dworker_threads.md1102 #### `performance.eventLoopUtilization([utilization1[, utilization2]])`
1112 `eventLoopUtilization()`.
1114 `eventLoopUtilization()` prior to `utilization1`.
1120 The same call as [`perf_hooks` `eventLoopUtilization()`][], except the values
1139 console.log(worker.performance.eventLoopUtilization());
1364 [`perf_hooks` `eventLoopUtilization()`]: perf_hooks.md#performanceeventlooputilizationutilization1-…
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md1665 `Worker` instances now have a `performance` property, with a single `eventLoopUtilization` method t…
1667 The method works the same way as `perf_hooks` `eventLoopUtilization()`.
1711 …ejs/node/commit/221e28311f)] - **(SEMVER-MINOR)** **worker**: add eventLoopUtilization() (Trevor N…
DCHANGELOG_V14.md1956 …ejs/node/commit/9460f2cd83)] - **(SEMVER-MINOR)** **worker**: add eventLoopUtilization() (Trevor N…
2437 …s://github.com/nodejs/node/commit/6585b161ba)] - **doc**: improve eventLoopUtilization documentati…
2588 …ps://github.com/nodejs/node/commit/aea3f77c8d)] - **doc**: update eventLoopUtilization documentati…
DCHANGELOG_V12.md467 `worker.performance.eventLoopUtilization()` has been added.
488 …ejs/node/commit/eec7542781)] - **(SEMVER-MINOR)** **worker**: add eventLoopUtilization() (Trevor N…