repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v3.1.16
[poolifier.git]
/
benchmarks
/
internal
/
bench.mjs
diff --git
a/benchmarks/internal/bench.mjs
b/benchmarks/internal/bench.mjs
index adff36153241f7843f702547237280a509bb7326..88868af7c43c1c3e4e5cce039f2fac71a6b99946 100644
(file)
--- a/
benchmarks/internal/bench.mjs
+++ b/
benchmarks/internal/bench.mjs
@@
-1,10
+1,11
@@
+import { exit } from 'node:process'
import {
PoolTypes,
WorkerTypes,
availableParallelism
} from '../../lib/index.mjs'
import {
PoolTypes,
WorkerTypes,
availableParallelism
} from '../../lib/index.mjs'
-import { TaskFunctions } from '../benchmarks-types.js'
-import { runPoolifierPoolBenchmark } from '../benchmarks-utils.js'
+import { TaskFunctions } from '../benchmarks-types.
c
js'
+import { runPoolifierPoolBenchmark } from '../benchmarks-utils.
c
js'
const poolSize = availableParallelism()
const taskExecutions = 1
const poolSize = availableParallelism()
const taskExecutions = 1
@@
-60,3
+61,5
@@
await runPoolifierPoolBenchmark(
workerData
}
)
workerData
}
)
+
+exit()