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): bump @typescript-eslint/parser from 6.15.0 to 6.16.0
[poolifier.git]
/
benchmarks
/
internal
/
bench.mjs
diff --git
a/benchmarks/internal/bench.mjs
b/benchmarks/internal/bench.mjs
index 368cf29c949f487b3223b5dd90c74beedcd359d1..5ea11e18414b6f9c474a32ec92c0eba3d0538cb1 100644
(file)
--- a/
benchmarks/internal/bench.mjs
+++ b/
benchmarks/internal/bench.mjs
@@
-1,3
+1,4
@@
+import { exit } from 'node:process'
import {
PoolTypes,
WorkerTypes,
import {
PoolTypes,
WorkerTypes,
@@
-15,7
+16,7
@@
const workerData = {
// FixedThreadPool
await runPoolifierPoolBenchmark(
// FixedThreadPool
await runPoolifierPoolBenchmark(
- '
Poolifier
FixedThreadPool',
+ 'FixedThreadPool',
WorkerTypes.thread,
PoolTypes.fixed,
poolSize,
WorkerTypes.thread,
PoolTypes.fixed,
poolSize,
@@
-27,7
+28,7
@@
await runPoolifierPoolBenchmark(
// DynamicThreadPool
await runPoolifierPoolBenchmark(
// DynamicThreadPool
await runPoolifierPoolBenchmark(
- '
Poolifier
DynamicThreadPool',
+ 'DynamicThreadPool',
WorkerTypes.thread,
PoolTypes.dynamic,
poolSize,
WorkerTypes.thread,
PoolTypes.dynamic,
poolSize,
@@
-39,7
+40,7
@@
await runPoolifierPoolBenchmark(
// FixedClusterPool
await runPoolifierPoolBenchmark(
// FixedClusterPool
await runPoolifierPoolBenchmark(
- '
Poolifier
FixedClusterPool',
+ 'FixedClusterPool',
WorkerTypes.cluster,
PoolTypes.fixed,
poolSize,
WorkerTypes.cluster,
PoolTypes.fixed,
poolSize,
@@
-51,7
+52,7
@@
await runPoolifierPoolBenchmark(
// DynamicClusterPool
await runPoolifierPoolBenchmark(
// DynamicClusterPool
await runPoolifierPoolBenchmark(
- '
Poolifier
DynamicClusterPool',
+ 'DynamicClusterPool',
WorkerTypes.cluster,
PoolTypes.dynamic,
poolSize,
WorkerTypes.cluster,
PoolTypes.dynamic,
poolSize,
@@
-60,3
+61,5
@@
await runPoolifierPoolBenchmark(
workerData
}
)
workerData
}
)
+
+exit()