repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update dependencies
[poolifier.git]
/
benchmarks
/
bench.js
diff --git
a/benchmarks/bench.js
b/benchmarks/bench.js
index f8d933813a8b393692a124bbece9243aec244681..2ad7f22c5e47ec7827366ed3c95b21a3402c06cf 100644
(file)
--- a/
benchmarks/bench.js
+++ b/
benchmarks/bench.js
@@
-11,13
+11,13
@@
const LIST_FORMATTER = new Intl.ListFormat('en-US', {
type: 'conjunction'
})
type: 'conjunction'
})
-//
wait some seconds before start, my
pools need to load threads !!!
+//
Wait some seconds before start,
pools need to load threads !!!
setTimeout(async () => {
test()
}, 3000)
async function test () {
setTimeout(async () => {
test()
}, 3000)
async function test () {
- //
a
dd tests
+ //
A
dd tests
suite
.add('Pioardi:Static:ThreadPool', async function () {
await fixedThreadTest()
suite
.add('Pioardi:Static:ThreadPool', async function () {
await fixedThreadTest()
@@
-31,7
+31,7
@@
async function test () {
.add('Pioardi:Dynamic:ClusterPool', async function () {
await dynamicClusterTest()
})
.add('Pioardi:Dynamic:ClusterPool', async function () {
await dynamicClusterTest()
})
- //
a
dd listeners
+ //
A
dd listeners
.on('cycle', function (event) {
console.log(event.target.toString())
})
.on('cycle', function (event) {
console.log(event.target.toString())
})