repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch to push-protected GH action for typedoc usage
[poolifier.git]
/
benchmarks
/
benchmarks-utils.js
diff --git
a/benchmarks/benchmarks-utils.js
b/benchmarks/benchmarks-utils.js
index 4e3cdc9c3af590c7e9812bf80abd81d3743155e8..30af25c927c38edc190ae2c5538a9c22e4569788 100644
(file)
--- a/
benchmarks/benchmarks-utils.js
+++ b/
benchmarks/benchmarks-utils.js
@@
-1,8
+1,4
@@
-const WorkerFunctions = {
- jsonIntegerSerialization: 'jsonIntegerSerialization',
- fibonacci: 'fibonacci',
- factorial: 'factorial'
-}
+const { WorkerFunctions } = require('./benchmarks-types')
async function runPoolifierTest (pool, { tasks, workerData }) {
return new Promise((resolve, reject) => {
async function runPoolifierTest (pool, { tasks, workerData }) {
return new Promise((resolve, reject) => {