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 ec5db24 commit f61e734Copy full SHA for f61e734
1 file changed
benchmarks/performance-observer-benchmark.js
@@ -161,8 +161,8 @@ async function runPerformanceObserverBenchmarks () {
161
162
// Phase 4: Some clear operations
163
console.log("Phase 4: Clear operations");
164
+ const phase4Cache = lru(1);
165
await timer.timeFunction("lru.clear", () => {
- const phase4Cache = lru(1);
166
phase4Cache.set("temp_1", "temp_value_1");
167
phase4Cache.clear();
168
}, iterations);
0 commit comments