X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Fbenchmarks-types.js;fp=benchmarks%2Fbenchmarks-types.js;h=7a951feece39d6580286f40201f5a51119248f31;hb=cdace0e5b9082804893de9501372490ee1064090;hp=913803437597b46556f26e5dae46159b16dc7627;hpb=4597ddcd5fdeb8cef6a991e965038650fe200509;p=poolifier.git diff --git a/benchmarks/benchmarks-types.js b/benchmarks/benchmarks-types.js index 91380343..7a951fee 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 }