repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: partially revert ESM conversion in benchmarking code
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
pool-threadwork.mjs
diff --git
a/benchmarks/versus-external-pools/pool-threadwork.mjs
b/benchmarks/versus-external-pools/pool-threadwork.mjs
index 4541e58c97a8833f07185ab9d735e269787685f3..545c013eddbbd3e8d016b13080f7e1610fba2999 100644
(file)
--- a/
benchmarks/versus-external-pools/pool-threadwork.mjs
+++ b/
benchmarks/versus-external-pools/pool-threadwork.mjs
@@
-2,7
+2,7
@@
import { ThreadPool } from 'threadwork'
// FINISH IMPORT LIBRARIES
// IMPORT FUNCTION TO BENCH
import { ThreadPool } from 'threadwork'
// FINISH IMPORT LIBRARIES
// IMPORT FUNCTION TO BENCH
-import functionToBench from './functions/function-to-bench.
m
js'
+import functionToBench from './functions/function-to-bench.js'
// FINISH IMPORT FUNCTION TO BENCH
const size = parseInt(process.env.POOL_SIZE)
// FINISH IMPORT FUNCTION TO BENCH
const size = parseInt(process.env.POOL_SIZE)