Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-worker-resource-limits.js5 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 …]
Dtest-worker-stack-overflow-stack-size.js49 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
Dtest-worker-nearheaplimit-deadlock.js14 resourceLimits: { property
/third_party/node/lib/
Dworker_threads.js6 resourceLimits,
32 resourceLimits, property
/third_party/node/typings/internalBinding/
Dworker.d.ts7 resourceLimits: Float64Array,
27 resourceLimits?: Float64Array;
/third_party/node/lib/internal/
Dworker.js65 resourceLimits: resourceLimitsRaw,
198 parseResourceLimits(options.resourceLimits),
413 get resourceLimits() { getter in Worker
513 resourceLimits: property
/third_party/node/test/fixtures/workload/
Dgrow-worker.js10 resourceLimits: { property
Dgrow-worker-and-set-near-heap-limit.js10 resourceLimits: { property
/third_party/node/doc/api/
Dworker_threads.md254 ## `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/
DCHANGELOG_V13.md1717 …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…
DCHANGELOG_V12.md3311 …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…
DCHANGELOG_V18.md2547 …ithub.com/nodejs/node/commit/b660b7467d)] - **doc,worker**: document resourceLimits overrides (Key…