repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: cleanup enums namespace
[poolifier.git]
/
benchmarks
/
benchmarks-types.js
diff --git
a/benchmarks/benchmarks-types.js
b/benchmarks/benchmarks-types.js
index 913803437597b46556f26e5dae46159b16dc7627..4411fbbe3a4a39499e81bf45f5892905fafd7981 100644
(file)
--- a/
benchmarks/benchmarks-types.js
+++ b/
benchmarks/benchmarks-types.js
@@
-1,7
+1,18
@@
const WorkerFunctions = {
jsonIntegerSerialization: 'jsonIntegerSerialization',
fibonacci: 'fibonacci',
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 }