perf: switch benchmarks to factorial(50000)
[poolifier.git] / benchmarks / internal / bench.mjs
index b59514d225b45adf149f011798156af1a7bcf675..62eefe64daa62bc91e042d3718c9a31701c6fdf9 100644 (file)
@@ -11,8 +11,8 @@ import { runPoolifierPoolBenchmark } from '../benchmarks-utils.cjs'
 const poolSize = availableParallelism()
 const taskExecutions = 1
 const workerData = {
-  function: TaskFunctions.jsonIntegerSerialization,
-  taskSize: 1000
+  function: TaskFunctions.factorial,
+  taskSize: 50000
 }
 
 // FixedThreadPool