repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: readd cpu speed computation but only if necessary
[poolifier.git]
/
benchmarks
/
benchmarks-utils.cjs
diff --git
a/benchmarks/benchmarks-utils.cjs
b/benchmarks/benchmarks-utils.cjs
index 4dd1227b00b2362b393b47113e70a154aad6fe87..b4a0d9bd8dd518420330ea5700fe1972b6995027 100644
(file)
--- a/
benchmarks/benchmarks-utils.cjs
+++ b/
benchmarks/benchmarks-utils.cjs
@@
-89,8
+89,8
@@
const runPoolifierPoolBenchmark = async (
) => {
return await new Promise((resolve, reject) => {
const pool = buildPoolifierPool(workerType, poolType, poolSize)
) => {
return await new Promise((resolve, reject) => {
const pool = buildPoolifierPool(workerType, poolType, poolSize)
- const suite = new Benchmark.Suite(name)
try {
try {
+ const suite = new Benchmark.Suite(name)
for (const workerChoiceStrategy of Object.values(
WorkerChoiceStrategies
)) {
for (const workerChoiceStrategy of Object.values(
WorkerChoiceStrategies
)) {