docs: update benchmarks vs. external pools
[poolifier.git] / benchmarks / versus-external-pools / bench.sh
index 16ed0127ca8fac537920bc4a2905311e500fbb8c..7221ba32e538c089e88636a855a7ea2681b1df76 100755 (executable)
@@ -37,11 +37,10 @@ done
 
 taskType=${taskType:-'CPU_INTENSIVE'}
 taskSize=${taskSize:-5000}
-poolSize=${poolSize:-10}
+poolSize=${poolSize:-$(nproc --all)}
 iterations=${iterations:-100000}
 
 echo 'Running benchmarks with pool size:' ${poolSize}', number of iterations:' ${iterations}', task type:' ${taskType} 'and task size:' ${taskSize}
-exit 1
 export NODE_ENV=production
 export TASK_TYPE=${taskType}
 export TASK_SIZE=${taskSize}