diff options
author | Cashew <52880648+cashewnuttynuts@users.noreply.github.com> | 2024-06-14 18:48:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 09:48:49 +0000 |
commit | f96a3f04fe0ce7bb202bdecf9a698acd6a22671c (patch) | |
tree | 0f6276dcde5e84760b903e63dd694d6722350a53 | |
parent | 591f75bbbcdff91610c4e5dfa57baae8d2c9f099 (diff) |
actually loop 1 through 100,000 (#1068)
-rw-r--r-- | benches/canary.bench.js | 2 |
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); |