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

iconara / ione / 303 / 2
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v1.2.4
DEFAULT BRANCH: master
Ran 17 May 2016 08:34AM UTC
Files 12
Run time 0s
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

17 May 2016 08:27AM UTC coverage: 99.178% (+0.003%) from 99.175%
2.0.0

push

travis-ci

iconara
Reduce lock duration for BaseConnection#flush

This avoids performing the nonblocking write while holding the lock.
While it seems counter-intuitive, it seems this operation frequently
takes a lot of time. I don't know whether it is due to a profiling
artifact or not, but it shouldn't hurt in any case.

Since reads from the write buffer only happen from the single reactor
thread, we could actually perform (some) flushes without locking before
performing the non-blocking write. This uses a new byte-buffer accessor
that allows peeking at the contents of the byte buffer without taking
any lock.

2774 of 2797 relevant lines covered (99.18%)

6646.59 hits per line

Source Files on job 303.2 (2.0.0)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 303
  • Travis Job 303.2
  • 0fc72e56 on github
  • Prev Job for 2.0.0 on improve-base-connection-locks (#301.2)
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