X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Fbenchmarks-types.js;h=4411fbbe3a4a39499e81bf45f5892905fafd7981;hb=refs%2Ftags%2Fv2.5.4;hp=913803437597b46556f26e5dae46159b16dc7627;hpb=e4bc7a498d48e2773b2e68fd4ffcaf4d328d5a0b;p=poolifier.git diff --git a/benchmarks/benchmarks-types.js b/benchmarks/benchmarks-types.js index 91380343..4411fbbe 100644 --- a/benchmarks/benchmarks-types.js +++ b/benchmarks/benchmarks-types.js @@ -1,7 +1,18 @@ const WorkerFunctions = { jsonIntegerSerialization: 'jsonIntegerSerialization', fibonacci: 'fibonacci', - factorial: 'factorial' + factorial: 'factorial', + readWriteFiles: 'readWriteFiles' } -module.exports = { WorkerFunctions } +const PoolTypes = { + fixed: 'fixed', + dynamic: 'dynamic' +} + +const WorkerTypes = { + thread: 'thread', + cluster: 'cluster' +} + +module.exports = { PoolTypes, WorkerFunctions, WorkerTypes }