X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Fbenchmarks-types.js;h=eaaf05d1be4df25ed55259d5878f26ff39c00bc1;hb=b22361f4474e4a63a7482741d98f0c58b4b03b4c;hp=7a951feece39d6580286f40201f5a51119248f31;hpb=cdace0e5b9082804893de9501372490ee1064090;p=poolifier.git diff --git a/benchmarks/benchmarks-types.js b/benchmarks/benchmarks-types.js index 7a951fee..eaaf05d1 100644 --- a/benchmarks/benchmarks-types.js +++ b/benchmarks/benchmarks-types.js @@ -1,18 +1,8 @@ -const WorkerFunctions = { +const TaskFunctions = { jsonIntegerSerialization: 'jsonIntegerSerialization', fibonacci: 'fibonacci', factorial: 'factorial', readWriteFiles: 'readWriteFiles' } -const PoolTypes = { - FIXED: 'fixed', - DYNAMIC: 'dynamic' -} - -const WorkerTypes = { - THREAD: 'thread', - CLUSTER: 'cluster' -} - -module.exports = { PoolTypes, WorkerFunctions, WorkerTypes } +module.exports = { TaskFunctions }