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

bitfaster / BitFaster.Caching / 46192161838
99%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2026 09:41PM UTC
Jobs 7
Files 117
Run time 1min
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

28 Nov 2026 09:33PM UTC coverage: 99.314% (+0.1%) from 99.212%
46192161838

push

github

web-flow
Add weight-based eviction to ConcurrentLfu (#814)

* Add weighted LFU eviction implementation plan

Design/phasing plan to add Caffeine-parity weight-based eviction to ConcurrentLfu and ConcurrentTLfu via the existing INodePolicy seam (no new generic), with weighted node subclasses.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Weighted LFU phase 1: foundations

Add IWeigher, builder WithWeigher + factory wiring (weighted no-events via FastConcurrentLfu), the INodePolicy sizing seam (IsWeighted/GetWeight/GetPolicyWeight/SetPolicyWeight) implemented trivially by the unweighted policies, weighted node subclasses, weighted access/expiry node policies, and LfuNodeList.AddFirst/MoveToFront. No change to the unweighted path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Weighted LFU phase 2-3: weighted accounting and eviction

Add policyWeight-authoritative weighted size accounting (weightedSize/window/protected), weighted OnWrite add/update/remove with oversize handling, weighted EvictFromWindow/EvictFromMain with frequency admission (incl. 1/128 anti-hashflood), weighted PromoteProbation/ReFitProtected, zero-weight survival, and weighted-aware OnAccess promotion. Maintains the invariant weightedSize == sum of policyWeight. Count path unchanged (JIT-elided via IsWeighted).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Weighted LFU phase 4: weighted hill-climb

Adapt window/main-protected maximums in weight units via Caffeine's hill-climbing (DetermineWeightedAdjustment + IncreaseWindow/DecreaseWindow moving whole nodes between queues within quota, capped at QUEUE_TRANSFER_THRESHOLD). Replaces the count-based OptimizePartitioning for weighted caches. Count path unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Weighted LFU phase 5: compose weight with events and time expiry

Add INodePolicy.ExpiryCalculator so wrappers expose the time policy wi... (continued)

1534 of 1564 branches covered (98.08%)

Branch coverage included in aggregate %.

874 of 874 new or added lines in 13 files covered. (100.0%)

6576 of 6602 relevant lines covered (99.61%)

81513412.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 mac10 - 46192161838.1 28 Nov 2026 09:50PM UTC 117
98.25
GitHub Action Run
2 linux10 - 46192161838.2 28 Nov 2026 09:41PM UTC 117
97.91
GitHub Action Run
3 win6 - 46192161838.3 28 Nov 2026 09:44PM UTC 116
98.14
GitHub Action Run
4 win10 - 46192161838.4 28 Nov 2026 09:43PM UTC 117
97.91
GitHub Action Run
5 linux6 - 46192161838.5 28 Nov 2026 09:42PM UTC 116
97.87
GitHub Action Run
6 win3 - 46192161838.6 28 Nov 2026 09:41PM UTC 116
97.4
GitHub Action Run
7 mac6 - 46192161838.7 28 Nov 2026 09:42PM UTC 116
98.47
GitHub Action Run
Source Files on build 46192161838
  • Tree
  • List 117
  • Changed 12
  • Source Changed 8
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46192161838
  • 5cf58a5c on github
  • Prev Build on main (#46079655684)
  • Next Build on main (#46199512568)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc