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

ben-manes / caffeine / 781
100%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2015 04:42AM UTC
Jobs 1
Files 62
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

pending completion
781

push

travis-ci

ben-manes
Use one-shot capacity buffer for improved performance

Previously the buffer was over allocated with a threshold to record reads while
a drain was in process. This wastes space and requires an extra volatile read
that adds overhead. The buffer was lossy to avoid contention by allowing
producers to overwrite each other and not write strictly in a sequential order.
This reduced contention at the cost of extra stores and potential for garbage
to be stuck in the buffer until the next full cycle.

The one-shot buffer peeks at the next write index. If it is free, it attempts
to write an element and updates the counter. If the buffer is detectably full,
then a drain is requested.

3663 of 4019 relevant lines covered (91.14%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 781.1 (TERM=dumb) 19 Mar 2015 04:42AM UTC 0
91.14
Travis Job 781.1
Source Files on build 781
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #781
  • 2fd58a45 on github
  • Prev Build on master (#780)
  • Next Build on master (#782)
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