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

ben-manes / caffeine / 780
100%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2015 03:29AM UTC
Jobs 1
Files 62
Run time 4min
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
780

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.

3672 of 4018 relevant lines covered (91.39%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 780.1 (TERM=dumb) 19 Mar 2015 03:29AM UTC 0
91.39
Travis Job 780.1
Source Files on build 780
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #780
  • 228ebe0b on github
  • Prev Build on master (#753)
  • Next Build on master (#781)
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