X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Finternal%2Fcluster-worker.cjs;h=5f59d49b8971cd4d692fe3e01a4599ba13a03d66;hb=d44859e71950912c8de6e9028592c833dde3e86b;hp=94980725624e9897db66b55b0fda6a3392776b38;hpb=d35e571704515a8b729d3455e4784054f07c368f;p=poolifier.git diff --git a/benchmarks/internal/cluster-worker.cjs b/benchmarks/internal/cluster-worker.cjs index 94980725..5f59d49b 100644 --- a/benchmarks/internal/cluster-worker.cjs +++ b/benchmarks/internal/cluster-worker.cjs @@ -5,7 +5,7 @@ const { TaskFunctions } = require('../benchmarks-types.cjs') const taskFunction = data => { data = data || {} - data.function = data.function || TaskFunctions.jsonIntegerSerialization + data.function = data.function || TaskFunctions.factorial data.debug = data.debug || false const res = executeTaskFunction(data) data.debug === true && console.debug(`This is the main thread ${isPrimary}`)