From f96a3f04fe0ce7bb202bdecf9a698acd6a22671c Mon Sep 17 00:00:00 2001 From: Cashew <52880648+cashewnuttynuts@users.noreply.github.com> Date: Fri, 14 Jun 2024 18:48:49 +0900 Subject: actually loop 1 through 100,000 (#1068) --- benches/canary.bench.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3