repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build(deps-dev): bump @types/node
[poolifier.git]
/
benchmarks
/
worker-selection
/
least.mjs
diff --git
a/benchmarks/worker-selection/least.mjs
b/benchmarks/worker-selection/least.mjs
index ca5de3c1821de7bed57680fe1a3acd4aae3e398a..4be3826f7e8165bb698e9c9dd21617b8b0f26160 100644
(file)
--- a/
benchmarks/worker-selection/least.mjs
+++ b/
benchmarks/worker-selection/least.mjs
@@
-18,7
+18,7
@@
const tasksMap = generateRandomTasksMap(60, 20)
function loopSelect (tasksMap) {
let minKey
- let minValue =
Infinity
+ let minValue =
Number.POSITIVE_INFINITY
for (const [key, value] of tasksMap) {
if (value === 0) {
return key