We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a259958 commit 823d81dCopy full SHA for 823d81d
1 file changed
benchmarks/performance-observer-benchmark.js
@@ -92,9 +92,9 @@ async function runPerformanceObserverBenchmarks () {
92
93
// Phase 1: Fill cache with initial data
94
console.log("Phase 1: Initial cache population");
95
- const phase1Cache = lru(cacheSize);
96
let phase1Index = 0;
97
await timer.timeFunction("lru.set (initial population)", () => {
+ const phase1Cache = lru(cacheSize);
98
const i = phase1Index % cacheSize;
99
phase1Cache.set(testData[i].key, testData[i].value);
100
phase1Index++;
0 commit comments