repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf: add measurement coverage to benchmark
[poolifier.git]
/
benchmarks
/
benchmarks-utils.mjs
diff --git
a/benchmarks/benchmarks-utils.mjs
b/benchmarks/benchmarks-utils.mjs
index 8819c59255eb4cb6925e7463760695c2872924e8..48c8fc3e7cb7dacd019a4ca3ac8fa28749c61db5 100644
(file)
--- a/
benchmarks/benchmarks-utils.mjs
+++ b/
benchmarks/benchmarks-utils.mjs
@@
-4,9
+4,11
@@
import {
DynamicClusterPool,
DynamicThreadPool,
FixedClusterPool,
DynamicClusterPool,
DynamicThreadPool,
FixedClusterPool,
- FixedThreadPool
+ FixedThreadPool,
+ PoolTypes,
+ WorkerTypes
} from '../lib/index.mjs'
} from '../lib/index.mjs'
-import {
PoolTypes, WorkerFunctions, WorkerType
s } from './benchmarks-types.mjs'
+import {
WorkerFunction
s } from './benchmarks-types.mjs'
export const runTest = async (pool, { taskExecutions, workerData }) => {
return new Promise((resolve, reject) => {
export const runTest = async (pool, { taskExecutions, workerData }) => {
return new Promise((resolve, reject) => {