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

google / benchmark / 1339
92%

Build:
DEFAULT BRANCH: master
Ran 10 Feb 2018 05:00AM UTC
Jobs 1
Files 32
Run time 1s
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
1339

push

travis-ci

EricWF
Support State::KeepRunningBatch(). (#521)

* Support State::KeepRunningBatch().

State::KeepRunning() can take large amounts of time relative to quick
operations (on the order of 1ns, depending on hardware). For such
sensitive operations, it is recommended to run batches of repeated
operations.

This commit simplifies handling of total_iterations_. Rather than
predecrementing such that total_iterations_ == 1 signals that
KeepRunning() should exit, total_iterations_ == 0 now signals the
intention for the benchmark to exit.

* Create better fast path in State::KeepRunningBatch()

* Replace int parameter with size_t to fix signed mismatch warnings

* Ensure benchmark State has been started even on error.

* Simplify KeepRunningBatch()

1492 of 1714 relevant lines covered (87.05%)

4591180.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1339.1 (COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage) 10 Feb 2018 05:00AM UTC 0
87.05
Travis Job 1339.1
Source Files on build 1339
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1339
  • 296ec569 on github
  • Prev Build on master (#1334)
  • Next Build on master (#1351)
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