repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
fixed-threadwork.js
diff --git
a/benchmarks/versus-external-pools/fixed-threadwork.js
b/benchmarks/versus-external-pools/fixed-threadwork.js
index cb9c3ca09be88ff6f20bf6819f245b3d94aac6ce..d21fae6a8e2179704af88fb420c40f2c338deb1a 100644
(file)
--- a/
benchmarks/versus-external-pools/fixed-threadwork.js
+++ b/
benchmarks/versus-external-pools/fixed-threadwork.js
@@
-1,11
+1,11
@@
// IMPORT LIBRARIES
const threadPool = require('./pool-threadwork')
// FINISH IMPORT LIBRARIES
// IMPORT LIBRARIES
const threadPool = require('./pool-threadwork')
// FINISH IMPORT LIBRARIES
-const iterations =
Number
(process.env.NUM_ITERATIONS)
+const iterations =
parseInt
(process.env.NUM_ITERATIONS)
const data = {
test: 'MYBENCH',
taskType: process.env.TASK_TYPE,
const data = {
test: 'MYBENCH',
taskType: process.env.TASK_TYPE,
- taskSize: p
rocess.env.TASK_SIZE
+ taskSize: p
arseInt(process.env.TASK_SIZE)
}
async function run () {
}
async function run () {