repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:poolifier/poolifier into interleaved-weighted...
[poolifier.git]
/
benchmarks
/
benchmarks-utils.js
diff --git
a/benchmarks/benchmarks-utils.js
b/benchmarks/benchmarks-utils.js
index aac4b78583923252c0c8972273d7c8aced7f9842..743936dabdbef3b1963fb63ce092b28881226d9b 100644
(file)
--- a/
benchmarks/benchmarks-utils.js
+++ b/
benchmarks/benchmarks-utils.js
@@
-1,16
+1,16
@@
const crypto = require('crypto')
const fs = require('fs')
const crypto = require('crypto')
const fs = require('fs')
-const {
- PoolTypes,
- WorkerFunctions,
- WorkerTypes
-} = require('./benchmarks-types')
const {
DynamicClusterPool,
DynamicThreadPool,
FixedClusterPool,
FixedThreadPool
} = require('../lib')
const {
DynamicClusterPool,
DynamicThreadPool,
FixedClusterPool,
FixedThreadPool
} = require('../lib')
+const {
+ PoolTypes,
+ WorkerFunctions,
+ WorkerTypes
+} = require('./benchmarks-types')
async function runTest (pool, { taskExecutions, workerData }) {
return new Promise((resolve, reject) => {
async function runTest (pool, { taskExecutions, workerData }) {
return new Promise((resolve, reject) => {