1 import { exit } from 'node:process'
2 // eslint-disable-next-line n/no-unsupported-features/node-builtins
3 import { parseArgs } from 'node:util'
9 } from '../../lib/index.mjs'
10 import { TaskFunctions } from '../benchmarks-types.cjs'
12 runPoolifierBenchmarkBenchmarkJsSuite,
13 runPoolifierBenchmarkTatamiNg
14 } from '../benchmarks-utils.mjs'
16 const poolSize = availableParallelism()
17 const taskExecutions = 1
19 function: TaskFunctions.factorial,
33 allowPositionals: true
37 await runPoolifierBenchmarkTatamiNg(
47 await runPoolifierBenchmarkTatamiNg(
57 await runPoolifierBenchmarkTatamiNg(
67 await runPoolifierBenchmarkTatamiNg(
80 await runPoolifierBenchmarkBenchmarkJsSuite(
90 await runPoolifierBenchmarkBenchmarkJsSuite(
100 await runPoolifierBenchmarkBenchmarkJsSuite(
110 await runPoolifierBenchmarkBenchmarkJsSuite(
111 'DynamicClusterPool',