Skip to content

Commit e16878e

Browse files
committed
Updating perf benchmarks
1 parent 4dcb87e commit e16878e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ npm run benchmark:all
9292

9393
# Individual benchmark suites
9494
npm run benchmark:modern # Comprehensive Tinybench suite
95-
npm run benchmark:perf # Performance Observer measurements
95+
npm run benchmark:perf # Performance measurements
9696
npm run benchmark:comparison # Compare against other LRU libraries
9797
```
9898

benchmarks/performance-observer-benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function generateTestData (size) {
7878
return out;
7979
}
8080

81-
async function runPerformanceObserverBenchmarks () {
81+
async function runPerformanceBenchmarks () {
8282
console.log("🔬 LRU Performance Benchmarks");
8383
console.log("==============================");
8484
console.log("(Using CustomTimer for high-resolution function timing)");
@@ -257,7 +257,7 @@ async function runAllPerformanceTests () {
257257
console.log(`Date: ${new Date().toISOString()}`);
258258

259259
try {
260-
await runPerformanceObserverBenchmarks();
260+
await runPerformanceBenchmarks();
261261
await runScalabilityTest();
262262

263263
console.log("\n✅ Performance tests completed!");
@@ -278,7 +278,7 @@ if (import.meta.url === `file://${process.argv[1]}`) {
278278

279279
export {
280280
runAllPerformanceTests,
281-
runPerformanceObserverBenchmarks,
281+
runPerformanceBenchmarks,
282282
runScalabilityTest,
283283
CustomTimer
284284
};

0 commit comments

Comments
 (0)