Skip to content

Commit f61e734

Browse files
committed
Updating perf benchmarks
1 parent ec5db24 commit f61e734

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
@@ -161,8 +161,8 @@ async function runPerformanceObserverBenchmarks () {
161161

162162
// Phase 4: Some clear operations
163163
console.log("Phase 4: Clear operations");
164+
const phase4Cache = lru(1);
164165
await timer.timeFunction("lru.clear", () => {
165-
const phase4Cache = lru(1);
166166
phase4Cache.set("temp_1", "temp_value_1");
167167
phase4Cache.clear();
168168
}, iterations);

0 commit comments

Comments
 (0)