Home
last modified time | relevance | path

Searched full:concurrency (Results 1 – 25 of 239) sorted by relevance

12345678910

/third_party/node/test/parallel/
Dtest-runner-concurrency.js14 describe('Concurrency option (boolean) = true', { concurrency: true }, () => { property
26 'Concurrency option (boolean) = false',
27 { concurrency: false }, property
39 // Despite the docs saying so at some point, setting concurrency to true should
40 // not limit concurrency to the number of available CPU cores.
41 describe('concurrency: true implies Infinity', { concurrency: true }, () => { property
56 // Make sure tests run in order when root concurrency is 1 (default)
91 await fs.writeFile(path.resolve(tmpdir.path, 'test-runner-concurrency'), '');
94 fixtures.path('test-runner', 'concurrency', 'a.mjs'),
95 fixtures.path('test-runner', 'concurrency', 'b.mjs'),
Dtest-runner-option-validation.js17 [Symbol(), {}, [], () => {}, 1n, '1'].forEach((concurrency) => {
18 assert.throws(() => test({ concurrency }), { code: 'ERR_INVALID_ARG_TYPE' }); field
20 [-1, 0, 1.1, -Infinity, NaN, 2 ** 33, Number.MAX_SAFE_INTEGER].forEach((concurrency) => {
21 assert.throws(() => test({ concurrency }), { code: 'ERR_OUT_OF_RANGE' }); field
23 [null, undefined, 1, 2 ** 31, true, false].forEach((concurrency) => {
25 test({ concurrency }); field
Dtest-runner-inspect.mjs29 …inspector with --test forces running at a concurrency of 1\. Use the inspectPort option to run wit…
38 …inspector with --test forces running at a concurrency of 1\. Use the inspectPort option to run wit…
52 …inspector with --test forces running at a concurrency of 1\. Use the inspectPort option to run wit…
Dtest-stream-filter.js118 // Concurrency + AbortSignal
124 }, { signal: ac.signal, concurrency: 2 }); property
142 // Concurrency result order
146 }, { concurrency: 2 }); property
160 concurrency: 'Foo' property
Dtest-stream-map.js140 // Concurrency + AbortSignal
146 }, 2), { signal: ac.signal, concurrency: 2 }); property
162 // Concurrency result order
166 }, { concurrency: 2 }); property
180 concurrency: 'Foo' property
Dtest-stream-some-find-every.mjs108 // Concurrency doesn't affect which value is found.
114 }, { concurrency: 2 }); property
150 concurrency: 'Foo'
152 }, /ERR_OUT_OF_RANGE/, `${op} should throw for invalid concurrency`).then(common.mustCall());
155 … }, /ERR_INVALID_ARG_TYPE/, `${op} should throw for invalid concurrency`).then(common.mustCall());
Dtest-stream-forEach.js92 // Concurrency + AbortSignal
99 }, { signal: ac.signal, concurrency: 2 }); property
120 concurrency: 'Foo' property
Dtest-stream-flatMap.js74 // Concurrency + AbortSignal
78 }), { signal: ac.signal, concurrency: 2 }); property
114 concurrency: 'Foo' property
/third_party/node/deps/npm/node_modules/p-map/
Dindex.js8 concurrency = Infinity, argument
17 if (!((Number.isSafeInteger(concurrency) || concurrency === Infinity) && concurrency >= 1)) {
18 … TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concu…
73 for (let i = 0; i < concurrency; i++) {
/third_party/node/lib/internal/main/
Dtest_runner.js14 let concurrency = true; variable
18 process.emitWarning('Using the inspector with --test forces running at a concurrency of 1. ' +
19 'Use the inspectPort option to run with concurrency');
20 concurrency = 1;
24 run({ concurrency, inspectPort, watch: getOptionValue('--watch'), setup: setupTestReporters }) property
/third_party/node/benchmark/tls/
Dtls-connect.js7 concurrency: [1, 10], property
14 let concurrency; variable
19 concurrency = conf.concurrency;
35 for (let i = 0; i < concurrency; i++)
/third_party/node/lib/internal/test_runner/
Dtest.js173 const { concurrency, only, timeout, todo, signal } = options;
188 this.concurrency = 1;
207 this.concurrency = parent.concurrency;
224 switch (typeof concurrency) {
226 validateUint32(concurrency, 'options.concurrency', 1);
227 this.concurrency = concurrency;
231 if (concurrency) {
233 this.concurrency = parent === null ? MathMax(cpus().length - 1, 1) : Infinity;
235 this.concurrency = 1;
240 if (concurrency != null)
[all …]
/third_party/node/test/pummel/
Dtest-net-many-clients.js29 const concurrency = 50; constant
90 for (let i = 0; i < concurrency; i++) {
92 if (++finished_clients === concurrency) server.close();
98 assert.strictEqual(total_connections, connections_per_client * concurrency);
/third_party/node/lib/internal/streams/
Doperators.js80 let concurrency = 1;
81 if (options?.concurrency != null) {
82 concurrency = MathFloor(options.concurrency);
85 validateInteger(concurrency, 'concurrency', 1);
132 if (!done && queue.length && queue.length >= concurrency) {
/third_party/node/deps/npm/node_modules/readable-stream/lib/internal/streams/
Doperators.js53 let concurrency = 1
54 if ((options === null || options === undefined ? undefined : options.concurrency) != null) {
55 concurrency = MathFloor(options.concurrency)
57 validateInteger(concurrency, 'concurrency', 1)
114 if (!done && queue.length && queue.length >= concurrency) {
/third_party/node/deps/npm/node_modules/cacache/lib/
Dverify.js23 concurrency: 20, property
151 { concurrency: opts.concurrency } property
211 { concurrency: opts.concurrency } property
/third_party/node/test/fixtures/test-runner/concurrency/
Db.mjs7 const file = await fs.readFile(path.resolve(tmpdir.path, 'test-runner-concurrency'), 'utf8');
9 await fs.writeFile(path.resolve(tmpdir.path, 'test-runner-concurrency'), 'b.mjs');
Da.mjs6 await fs.writeFile(path.resolve(tmpdir.path, 'test-runner-concurrency'), 'a.mjs');
8 const file = await fs.readFile(path.resolve(tmpdir.path, 'test-runner-concurrency'), 'utf8');
/third_party/typescript/tests/cases/docker/pyright/
DDockerfile7 RUN npx lerna exec --stream --concurrency 1 -- npm install /typescript.tgz --exact --ignore-scripts…
9 CMD [ "lerna", "exec", "--stream", "--concurrency", "1", "--no-bail", "--", "tsc", "--noEmit" ]
/third_party/libuv/test/
Dbenchmark-pound.c271 static int pound_it(int concurrency, in pound_it() argument
290 do_setup(concurrency, arg); in pound_it()
292 r = do_connect(concurrency, make_connect, arg); in pound_it()
304 concurrency, in pound_it()
/third_party/skia/experimental/wasm-skp-debugger/
Dkarma.conf.js54 // Concurrency level
56 concurrency: Infinity, property
/third_party/node/test/es-module/
Dtest-esm-loader-hooks.mjs7 describe('Loader hooks', { concurrency: true }, () => { property
27 describe('should handle never-settling hooks in ESM files', { concurrency: true }, () => { property
87 describe('should handle never-settling hooks in CJS files', { concurrency: true }, () => { property
/third_party/skia/modules/pathkit/
Dkarma.bench.conf.js52 // Concurrency level
54 concurrency: Infinity, property
Dkarma.conf.js53 // Concurrency level
55 concurrency: Infinity, property
/third_party/skia/modules/canvaskit/
Dkarma.conf.js55 // Concurrency level
57 concurrency: Infinity, property

12345678910