repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply dependencies update
[poolifier.git]
/
benchmarks
/
internal
/
cluster
/
worker.js
diff --git
a/benchmarks/internal/cluster/worker.js
b/benchmarks/internal/cluster/worker.js
index c7211b7bfd2b9fe5883059ef9bba8771d614381d..b4d54fca9976e65bbbb76da3ff5d54a4673815ff 100644
(file)
--- a/
benchmarks/internal/cluster/worker.js
+++ b/
benchmarks/internal/cluster/worker.js
@@
-2,13
+2,13
@@
const { ClusterWorker } = require('../../../lib/index')
function yourFunction (data) {
const { ClusterWorker } = require('../../../lib/index')
function yourFunction (data) {
- for (let i = 0; i <
=
1000; i++) {
+ for (let i = 0; i < 1000; i++) {
const o = {
a: i
}
JSON.stringify(o)
}
const o = {
a: i
}
JSON.stringify(o)
}
- // console.log('This is the main thread ' + isMa
inThread
)
+ // console.log('This is the main thread ' + isMa
ster
)
return { ok: 1 }
}
return { ok: 1 }
}