repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
149fdbb
)
refactor: cleanup benchmark code
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 23 Jul 2023 17:11:07 +0000
(19:11 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 23 Jul 2023 17:11:07 +0000
(19:11 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
benchmarks/internal/bench.mjs
patch
|
blob
|
blame
|
history
diff --git
a/benchmarks/internal/bench.mjs
b/benchmarks/internal/bench.mjs
index 1fbcc5aa89b0aaf875c62818812cfc0767969f4e..205940c31dd6b000c2a21c18adfa7301cdcf359d 100644
(file)
--- a/
benchmarks/internal/bench.mjs
+++ b/
benchmarks/internal/bench.mjs
@@
-39,12
+39,12
@@
for (const poolType of Object.values(PoolTypes)) {
}
}
}
+
const taskExecutions = 1
const workerData = {
function: WorkerFunctions.jsonIntegerSerialization,
taskSize: 1000
}
-
const addPools = pools =>
pools.map(([name, pool]) => {
return add(name, async () => {
@@
-57,7
+57,6
@@
const addPools = pools =>
const resultsFile = 'poolifier'
const resultsFolder = 'benchmarks/internal/results'
-
suite(
'Poolifier',
...addPools(pools),