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

ben-manes / caffeine / #5781
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 14 Sep 2026 01:41AM UTC
Jobs 1
Files 79
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

14 Sep 2026 01:14AM UTC coverage: 99.869%. Remained the same
#5781

push

github

ben-manes
avoid false sharing within the fastpath optimization check

Every hit on a size-bounded cache with strong references and no access
expiration tested whether the frequency sketch was initialized, which
loads sketch.table. That field shares a cache line with the sketch's
size, which the maintenance thread increments for nearly every drained
read, so the reader kept reloading a line that had just been written.

Such a cache now starts with the disabled read buffer and swaps in a
BoundedBuffer wherever the sketch is initialized: at half occupancy,
when presized, or when setMaximum makes it half full. The hit path
offers to the buffer without testing the sketch. On a read-only sweep
of a presized 65,536-entry cache this took a hit from 11.65 to 9.99 ns
at one thread (~16% speedup) and from 11.13 to 7.00 ns per thread at
eight (~60% speedup), and a cache under half full was no slower.

4714 of 4778 branches covered (98.66%)

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

9167 of 9179 relevant lines covered (99.87%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5781.1 14 Sep 2026 01:41AM UTC 79
99.87
Source Files on build #5781
  • Tree
  • List 79
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 39ef9625 on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
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