5 } from '../../lib/index.mjs'
6 import { TaskFunctions } from '../benchmarks-types.js'
7 import { runPoolifierPoolBenchmark } from '../benchmarks-utils.js'
9 const poolSize = availableParallelism()
10 const taskExecutions = 1
12 function: TaskFunctions.jsonIntegerSerialization,
17 await runPoolifierPoolBenchmark(
18 'Poolifier FixedThreadPool',
29 await runPoolifierPoolBenchmark(
30 'Poolifier DynamicThreadPool',
41 await runPoolifierPoolBenchmark(
42 'Poolifier FixedClusterPool',
53 await runPoolifierPoolBenchmark(
54 'Poolifier DynamicClusterPool',