Skip to content

Conversation

@avoidwork
Copy link
Owner

@avoidwork avoidwork commented Jan 14, 2026

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

augmentcode bot commented Jan 14, 2026

🤖 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 👎

Copy link

@augmentcode augmentcode bot left a comment

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
Owner Author

augment review

Copy link

@augmentcode augmentcode bot left a comment

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
Owner Author

augment review

Copy link

@augmentcode augmentcode bot left a comment

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
Owner Author

augment review

Copy link

@augmentcode augmentcode bot left a comment

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
Owner Author

augment review

Copy link

@augmentcode augmentcode bot left a comment

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
Owner Author

augment review

Copy link

@augmentcode augmentcode bot left a comment

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
Owner Author

augment review

Copy link

@augmentcode augmentcode bot left a comment

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
Owner Author

augment review

Copy link

@augmentcode augmentcode bot left a comment

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.

2 participants