aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCashew <52880648+cashewnuttynuts@users.noreply.github.com>2024-06-14 18:48:49 +0900
committerGitHub <noreply@github.com>2024-06-14 09:48:49 +0000
commitf96a3f04fe0ce7bb202bdecf9a698acd6a22671c (patch)
tree0f6276dcde5e84760b903e63dd694d6722350a53
parent591f75bbbcdff91610c4e5dfa57baae8d2c9f099 (diff)
actually loop 1 through 100,000 (#1068)
-rw-r--r--benches/canary.bench.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/canary.bench.js b/benches/canary.bench.js
index d49ef366..25759ed6 100644
--- a/benches/canary.bench.js
+++ b/benches/canary.bench.js
@@ -21,7 +21,7 @@ import {bench, describe} from 'vitest';
describe('Canary', () => {
bench('Loop 1 through 100,000', async () => {
let sum = 0;
- for (let i = 0; i < 10000; i++) {
+ for (let i = 0; i < 100_000; i++) {
sum += i;
}
console.debug(sum);