repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fix: export thread pool options type
[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
}