Searched refs:eventLoopUtilization (Results 1 – 9 of 9) sorted by relevance
/third_party/node/test/parallel/ |
D | test-performance-eventlooputil.js | 12 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/ |
D | test-worker-eventlooputil.js | 12 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/ |
D | bench-eventlooputil.js | 6 const { nodeTiming, eventLoopUtilization } = performance; 43 const elu = eventLoopUtilization(); 48 eventLoopUtilization(); 56 let elu = eventLoopUtilization(); 61 elu = eventLoopUtilization(elu);
|
/third_party/node/benchmark/worker/ |
D | bench-eventlooputil.js | 37 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/ |
D | worker.js | 260 eventLoopUtilization: FunctionPrototypeBind(eventLoopUtilization, this), property 457 function eventLoopUtilization(util1, util2) { function
|
/third_party/node/doc/api/ |
D | perf_hooks.md | 56 ### `performance.eventLoopUtilization([utilization1[, utilization2]])` 64 `eventLoopUtilization()`. 66 `eventLoopUtilization()` prior to `utilization1`. 72 The `eventLoopUtilization()` method returns an object that contains the 100 const { eventLoopUtilization } = require('perf_hooks').performance; 104 const elu = eventLoopUtilization(); 106 console.log(eventLoopUtilization(elu).utilization); 115 `eventLoopUtilization()` will lead to undefined behavior. The return values
|
D | worker_threads.md | 864 #### `performance.eventLoopUtilization([utilization1[, utilization2]])` 870 `eventLoopUtilization()`. 872 `eventLoopUtilization()` prior to `utilization1`. 878 The same call as [`perf_hooks` `eventLoopUtilization()`][], except the values 897 console.log(worker.performance.eventLoopUtilization()); 1107 [`perf_hooks` `eventLoopUtilization()`]: perf_hooks.md#perf_hooks_performance_eventlooputilization_…
|
/third_party/node/lib/ |
D | perf_hooks.js | 501 eventLoopUtilization(util1, util2) { method in Performance
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V14.md | 2163 …ejs/node/commit/9460f2cd83)] - **(SEMVER-MINOR)** **worker**: add eventLoopUtilization() (Trevor N… 2634 …s://github.com/nodejs/node/commit/6585b161ba)] - **doc**: improve eventLoopUtilization documentati… 2782 …ps://github.com/nodejs/node/commit/aea3f77c8d)] - **doc**: update eventLoopUtilization documentati…
|