• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

humanspeak / memory-cache
100%
main: 99%

Build:
Build:
LAST BUILD BRANCH: ci/drop-node-20
DEFAULT BRANCH: main
Repo Added 29 Dec 2025 08:59PM UTC
Token zbz4iPZab4SfXY3Pib2OgQcwFbouo323W regen
Build 50 Last
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH codex/prune-before-evict
branch: codex/prune-before-evict
CHANGE BRANCH
x
Reset
Sync Branches
  • codex/prune-before-evict
  • ci/drop-node-20
  • ci/readme-ecosystem-footer
  • codex/async-cached
  • codex/docs-ui-ux-update
  • codex/new-features
  • feature-udpated-version
  • fix/ci-seo-lint-cleanup
  • fix/release-cleanup-always-run
  • fix/seo-unique-titles
  • main

05 Jun 2026 05:51PM UTC coverage: 100.0%. First build
27031051188

push

github

web-flow
perf(cache): prune expired entries before eviction (#166)

* perf(cache): prune expired entries before eviction

Reclaim expired entries before applying maxSize LRU eviction so valid
entries are not evicted while stale entries still occupy capacity.

- Preserve LRU eviction when the cache remains full after pruning
- Add regression coverage for TTL and LRU order diverging
- Document the TTL plus maxSize behavior in README, API docs, and examples

Closes #161

* docs(cache): clarify ttl example timing

Stagger the TTL plus maxSize examples so readers can see that only the
first entry expires before the next write prunes it.

104 of 104 branches covered (100.0%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

204 of 204 relevant lines covered (100.0%)

954.66 hits per line

Relevant lines Covered
Build:
Build:
204 RELEVANT LINES 204 COVERED LINES
954.66 HITS PER LINE
Source Files on codex/prune-before-evict
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27031051188 codex/prune-before-evict perf(cache): prune expired entries before eviction (#166) * perf(cache): prune expired entries before eviction Reclaim expired entries before applying maxSize LRU eviction so valid entries are not evicted while stale entries still occupy capacit... push 05 Jun 2026 05:52PM UTC web-flow github
100.0
See All Builds (48)

Badge your Repo: memory-cache

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc