repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-hybrid...
[poolifier.git]
/
benchmarks
/
internal
/
bench.mjs
diff --git
a/benchmarks/internal/bench.mjs
b/benchmarks/internal/bench.mjs
index 480998b72c935900681627839091162befbd6a23..41cf62e61a04b155562b63390fea470b352d01e4 100644
(file)
--- a/
benchmarks/internal/bench.mjs
+++ b/
benchmarks/internal/bench.mjs
@@
-1,4
+1,5
@@
import { exit } from 'node:process'
import { exit } from 'node:process'
+// eslint-disable-next-line n/no-unsupported-features/node-builtins
import { parseArgs } from 'node:util'
import {
import { parseArgs } from 'node:util'
import {
@@
-9,7
+10,7
@@
import {
import { TaskFunctions } from '../benchmarks-types.cjs'
import {
runPoolifierBenchmarkBenchmarkJsSuite,
import { TaskFunctions } from '../benchmarks-types.cjs'
import {
runPoolifierBenchmarkBenchmarkJsSuite,
- runPoolifierBenchmark
Mitata
+ runPoolifierBenchmark
TatamiNg
} from '../benchmarks-utils.mjs'
const poolSize = availableParallelism()
} from '../benchmarks-utils.mjs'
const poolSize = availableParallelism()
@@
-32,8
+33,8
@@
switch (
allowPositionals: true
}).values.type
) {
allowPositionals: true
}).values.type
) {
- case '
mitata
':
- await runPoolifierBenchmark
Mitata
(
+ case '
tatami-ng
':
+ await runPoolifierBenchmark
TatamiNg
(
'FixedThreadPool',
WorkerTypes.thread,
PoolTypes.fixed,
'FixedThreadPool',
WorkerTypes.thread,
PoolTypes.fixed,
@@
-43,7
+44,7
@@
switch (
workerData
}
)
workerData
}
)
- await runPoolifierBenchmark
Mitata
(
+ await runPoolifierBenchmark
TatamiNg
(
'DynamicThreadPool',
WorkerTypes.thread,
PoolTypes.dynamic,
'DynamicThreadPool',
WorkerTypes.thread,
PoolTypes.dynamic,
@@
-53,7
+54,7
@@
switch (
workerData
}
)
workerData
}
)
- await runPoolifierBenchmark
Mitata
(
+ await runPoolifierBenchmark
TatamiNg
(
'FixedClusterPool',
WorkerTypes.cluster,
PoolTypes.fixed,
'FixedClusterPool',
WorkerTypes.cluster,
PoolTypes.fixed,
@@
-63,7
+64,7
@@
switch (
workerData
}
)
workerData
}
)
- await runPoolifierBenchmark
Mitata
(
+ await runPoolifierBenchmark
TatamiNg
(
'DynamicClusterPool',
WorkerTypes.cluster,
PoolTypes.dynamic,
'DynamicClusterPool',
WorkerTypes.cluster,
PoolTypes.dynamic,