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

google / benchmark / 2175
92%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2019 04:06PM UTC
Jobs 1
Files 40
Run time 3s
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
2175

push

travis-ci

LebedevRI
Bugfix/wsl selftest fixes. Fixes #839 (#843)

* Update AUTHORS and CONTRIBUTORS

* Fix WSL self-test failures

Some of the benchmark self-tests expect and check for a particular
output format from the benchmark library. The numerical values must
not be infinity or not-a-number, or the test will report an error.
Some of the values are computed bytes-per-second or items-per-second
values, so these require that the measured CPU time for the test to be
non-zero. But the loop that is being measured was empty, so the
measured CPU time for the loop was extremely small. On systems like
Windows Subsystem for Linux (WSL) the timer doesn't have enough
resolution to measure this, so the measured CPU time was zero.

This fix just makes sure that these tests have something within the
timing loop, so that the benchmark library will not decide that the
loop takes zero CPU time. This makes these tests more robust, and in
particular makes them pass on WSL.

1777 of 1937 relevant lines covered (91.74%)

5279435.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2175.1 (COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage) 27 Jul 2019 04:06PM UTC 0
91.74
Travis Job 2175.1
Source Files on build 2175
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2175
  • 32a1e397 on github
  • Prev Build on master (#2173)
  • Next Build on master (#2181)
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

© 2025 Coveralls, Inc