Skip to content

Update benchmarks - #387

Merged
avoidwork merged 22 commits into
masterfrom
updateBenchmarks
Jan 14, 2026
Merged

avoidwork merged 22 commits into
masterfrom
updateBenchmarks

Conversation

@avoidwork

@avoidwork avoidwork commented Jan 14, 2026 •

Copy link
Copy Markdown
Owner

@avoidwork avoidwork self-assigned this Jan 14, 2026
@augmentcode

augmentcode Bot commented Jan 14, 2026 •

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Refreshes the benchmark suite to consistently print performance results and expand coverage of the tiny-lru API.

Changes:

  • Removes the PerformanceObserver/performance.timerify()-based profiler and standardizes timing on a CustomTimer using performance.now()
  • Reworks benchmarks/performance-observer-benchmark.js into phased benchmarks (initial set/get/has/delete, eviction stress, clear) with a consistent 10k-iteration default
  • Adds timing coverage for additional cache APIs like keys(), values(), entries(), setWithEvicted(), and expiresAt()
  • Adjusts the scalability test timing so cache construction is excluded from the measured set loop
  • Updates README text for benchmark:perf to reflect generic performance measurements
  • Updates npm test to run lint before mocha

Technical Notes: Benchmark output is consolidated via console.table with basic stats (avg/min/max/median/stddev) and an ops/sec estimate derived from average time.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@avoidwork

Copy link
Copy Markdown
Owner Author

augment review

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@avoidwork

Copy link
Copy Markdown
Owner Author

augment review

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@avoidwork

Copy link
Copy Markdown
Owner Author

augment review

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread package.json Resolved
@avoidwork

Copy link
Copy Markdown
Owner Author

augment review

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@avoidwork

Copy link
Copy Markdown
Owner Author

augment review

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@avoidwork

Copy link
Copy Markdown
Owner Author

augment review

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@avoidwork

Copy link
Copy Markdown
Owner Author

augment review

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@avoidwork
avoidwork merged commit cfd2f89 into master Jan 14, 2026
4 checks passed
@avoidwork
avoidwork deleted the updateBenchmarks branch January 14, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant