Searched refs:resourceLimits (Results 1 – 12 of 12) sorted by relevance
/third_party/node/test/parallel/ |
D | test-worker-resource-limits.js | 5 const { Worker, resourceLimits, isMainThread } = require('worker_threads'); 8 assert.deepStrictEqual(resourceLimits, {}); 21 const w = new Worker(__filename, { resourceLimits: testResourceLimits }); property 22 assert.deepStrictEqual(w.resourceLimits, testResourceLimits); 25 assert.deepStrictEqual(w.resourceLimits, {}); 35 assert.deepStrictEqual(resourceLimits, testResourceLimits); 39 const maxReservedSize = resourceLimits.maxOldGenerationSizeMb + 40 resourceLimits.maxYoungGenerationSizeMb; 48 space_size / 1024 / 1024 < resourceLimits.maxYoungGenerationSizeMb * 2); 51 assert(space_size / 1024 / 1024 < resourceLimits.maxOldGenerationSizeMb); [all …]
|
D | test-worker-stack-overflow-stack-size.js | 49 const w1stack = await runWorker({ resourceLimits: { stackSizeMb: 0.5 } }); property 50 const w2stack = await runWorker({ resourceLimits: { stackSizeMb: 1.0 } }); property 61 await runWorker({ resourceLimits: { stackSizeMb }, skipErrorCheck: true }); property
|
D | test-worker-nearheaplimit-deadlock.js | 14 resourceLimits: { property
|
/third_party/node/lib/ |
D | worker_threads.js | 6 resourceLimits, 32 resourceLimits, property
|
/third_party/node/typings/internalBinding/ |
D | worker.d.ts | 7 resourceLimits: Float64Array, 27 resourceLimits?: Float64Array;
|
/third_party/node/lib/internal/ |
D | worker.js | 65 resourceLimits: resourceLimitsRaw, 198 parseResourceLimits(options.resourceLimits), 413 get resourceLimits() { getter in Worker 513 resourceLimits: property
|
/third_party/node/test/fixtures/workload/ |
D | grow-worker.js | 10 resourceLimits: { property
|
D | grow-worker-and-set-near-heap-limit.js | 10 resourceLimits: { property
|
/third_party/node/doc/api/ |
D | worker_threads.md | 254 ## `worker.resourceLimits` 269 If the `resourceLimits` option was passed to the [`Worker`][] constructor, 939 description: The `resourceLimits` option was introduced. 990 * `resourceLimits` {Object} An optional set of resource limits for the new JS 1180 ### `worker.resourceLimits` 1195 If the `resourceLimits` option was passed to the [`Worker`][] constructor,
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 1717 …s://github.com/nodejs/node/commit/aca0119089)] - **doc**: fix worker.resourceLimits indentation (D… 1718 …s://github.com/nodejs/node/commit/43e78578a6)] - **doc**: fix worker.resourceLimits type (Daniel N…
|
D | CHANGELOG_V12.md | 3311 …s://github.com/nodejs/node/commit/c79f485af9)] - **doc**: fix worker.resourceLimits indentation (D… 3312 …s://github.com/nodejs/node/commit/1a6443dfde)] - **doc**: fix worker.resourceLimits type (Daniel N…
|
D | CHANGELOG_V18.md | 2547 …ithub.com/nodejs/node/commit/b660b7467d)] - **doc,worker**: document resourceLimits overrides (Key…
|