import workerpool from 'workerpool'
-import functionToBench from '../../functions/function-to-bench.mjs'
+import functionToBench from '../../functions/function-to-bench.js'
-function workerPoolWrapperFunctionToBench (testName, taskType, taskSize) {
+function wrapperFunctionToBench (testName, taskType, taskSize) {
return functionToBench({
test: testName,
taskType,
}
workerpool.worker({
- functionToBench: workerPoolWrapperFunctionToBench
+ functionToBench: wrapperFunctionToBench
})