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

google / benchmark / 1349 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2018 01:15AM UTC
Files 32
Run time 2s
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

13 Feb 2018 12:53AM UTC coverage: 87.055% (+0.007%) from 87.048%
COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage

Pull #527

travis-ci

web-flow
Improve State packing: put important members on first cache line.

This patch does a few different things to ensure commonly accessed
data is on the first cache line of the `State` object.

First, it moves the `error_occurred_` member to reside after
the `started_` and `finished_` bools, since there was internal
padding there that was unused.

Second, it moves `batch_leftover_` and `max_iterations` further up
in the struct declaration. These variables are used in the calculation
of `iterations()` which users might call within the loop. Therefore
it's more important they exist on the first cache line.

Finally, this patch turns the bool members into bitfields. Although
this shouldn't have much of an effect currently, because padding is
still needed between the last bool and the first size_t, it should
help in future changes that require more "bool like" members.
Pull Request #527: Improve State packing: put important members on first cache line.

1493 of 1715 relevant lines covered (87.06%)

4635615.22 hits per line

Source Files on job 1349.1 (COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1349
  • Travis Job 1349.1
  • bb89d404 on github
  • Prev Job for COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage on master (#1339.1)
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