X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Fversus-external-pools%2Ffunctions%2Ffunction-to-bench.js;h=eca756b715d3a0052c99db37aafe9cc6ab1e3492;hb=8ea47589a8f04b7018bd39c230d68de456c27bb0;hp=ecc39a1c92be59327bd6b7d9d141c8bbf485b4be;hpb=440dd7d77da6e027b3b9543504addcf805f76c1d;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 ecc39a1c..eca756b7 100644 --- a/benchmarks/versus-external-pools/functions/function-to-bench.js +++ b/benchmarks/versus-external-pools/functions/function-to-bench.js @@ -5,7 +5,7 @@ * @param {*} data The worker data. * @returns {*} The result. */ -const functionToBench = data => { +const functionToBench = (data) => { const crypto = require('crypto') const fs = require('fs') const TaskTypes = {