Skip to content

Commit 823d81d

Browse files
committed
Updating perf benchmarks
1 parent a259958 commit 823d81d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmarks/performance-observer-benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ async function runPerformanceObserverBenchmarks () {
9292

9393
// Phase 1: Fill cache with initial data
9494
console.log("Phase 1: Initial cache population");
95-
const phase1Cache = lru(cacheSize);
9695
let phase1Index = 0;
9796
await timer.timeFunction("lru.set (initial population)", () => {
97+
const phase1Cache = lru(cacheSize);
9898
const i = phase1Index % cacheSize;
9999
phase1Cache.set(testData[i].key, testData[i].value);
100100
phase1Index++;

0 commit comments

Comments
 (0)