X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=benchmarks%2Fversus-external-pools%2Ffunctions%2Ffunction-to-bench.js;h=48a0fc78c8851f6c31c3e87d7d7d35eb3b6e0dc2;hb=15db9ada70dc79acc82b8efa7888c666f24853b4;hp=0c9738e62282d1486ea57141332761a0fd9705e9;hpb=9f7e7a99ea7dfa6f2fb3c2e0e025b85cfdd4e22e;p=poolifier.git diff --git a/benchmarks/versus-external-pools/functions/function-to-bench.js b/benchmarks/versus-external-pools/functions/function-to-bench.js index 0c9738e6..48a0fc78 100644 --- a/benchmarks/versus-external-pools/functions/function-to-bench.js +++ b/benchmarks/versus-external-pools/functions/function-to-bench.js @@ -1,6 +1,6 @@ module.exports = function (data) { - if ( data.taskType === 'CPU_INTENSIVE' ) { - // CPU Intensive task + if (data.taskType === 'CPU_INTENSIVE') { + // CPU intensive task for (let i = 0; i <= 5000; i++) { const o = { a: i