repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: generate documentation
[poolifier.git]
/
benchmarks
/
benchmarks-utils.js
diff --git
a/benchmarks/benchmarks-utils.js
b/benchmarks/benchmarks-utils.js
index 64df58c87b4a3b1c671a73695ef5905cd195c6df..aac4b78583923252c0c8972273d7c8aced7f9842 100644
(file)
--- a/
benchmarks/benchmarks-utils.js
+++ b/
benchmarks/benchmarks-utils.js
@@
-56,7
+56,6
@@
function jsonIntegerSerialization (n) {
/**
* Intentionally inefficient implementation.
/**
* Intentionally inefficient implementation.
- *
* @param {number} n - The number of fibonacci numbers to generate.
* @returns {number} - The nth fibonacci number.
*/
* @param {number} n - The number of fibonacci numbers to generate.
* @returns {number} - The nth fibonacci number.
*/
@@
-67,7
+66,6
@@
function fibonacci (n) {
/**
* Intentionally inefficient implementation.
/**
* Intentionally inefficient implementation.
- *
* @param {number} n - The number to calculate the factorial of.
* @returns {number} - The factorial of n.
*/
* @param {number} n - The number to calculate the factorial of.
* @returns {number} - The factorial of n.
*/
@@
-114,7
+112,7
@@
function executeWorkerFunction (data) {
}
}
}
}
-function buildPool (
poolType, poolSize, workerTyp
e, poolOptions) {
+function buildPool (
workerType, poolType, poolSiz
e, poolOptions) {
switch (poolType) {
case PoolTypes.FIXED:
switch (workerType) {
switch (poolType) {
case PoolTypes.FIXED:
switch (workerType) {