refactor: cleanup internal benchmark code
[poolifier.git] / benchmarks / benchmarks-types.js
1 const WorkerFunctions = {
2 jsonIntegerSerialization: 'jsonIntegerSerialization',
3 fibonacci: 'fibonacci',
4 factorial: 'factorial',
5 readWriteFiles: 'readWriteFiles'
6 }
7
8 const PoolTypes = {
9 FIXED: 'fixed',
10 DYNAMIC: 'dynamic'
11 }
12
13 const WorkerTypes = {
14 THREAD: 'thread',
15 CLUSTER: 'cluster'
16 }
17
18 module.exports = { PoolTypes, WorkerFunctions, WorkerTypes }