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

akopytov / sysbench / 942 / 4
74%
master: 75%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 10 Dec 2018 06:19PM UTC
Files 55
Run time 7s
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

10 Dec 2018 06:05PM UTC coverage: 73.017% (-0.3%) from 73.272%
TARGET=coverage

push

travis-ci

akopytov
--rate mode: fix latency stats skew on low rates

Worker threads used sleep() in the bounded rate mode to avoid CPU
hogging when polling on the event queue. The problem was that sleep()
calls increased time spent by events in the queue, which is counted
towards event latency to avoid the coordinated omission problem. The
lower the rate, the bigger impact on latency was observed.

The fix is replacing sleep()s with a condition variable which is now
used to put worker into an idle wait when the queue is empty. The event
generation thread now uses pthread_cond_signal() after each generated
event to wake up an idle worker thread. Which somewhat increases
sysbench CPU consumption, especially for high rates.

3204 of 4388 relevant lines covered (73.02%)

3454360.15 hits per line

Source Files on job 942.4 (TARGET=coverage)
  • Tree
  • List 0
  • Changed 21
  • Source Changed 2
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 883
  • Travis Job 942.4
  • bb8c3b04 on github
  • Prev Job for TARGET=coverage on 1.0 (#939.4)
  • Next Job for TARGET=coverage on 1.0 (#945.4)
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