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

google / benchmark / 1299
88%
master: 92%

Build:
Build:
LAST BUILD BRANCH: openmp-compatibility
DEFAULT BRANCH: master
Ran 05 Jan 2018 11:22PM UTC
Jobs 1
Files 32
Run time 4s
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
1299

Pull #510

travis-ci

web-flow
Begin JSON reporter change: Allow users to specify arbitrary JSON input/output.

This patch begins a set of changes to convert the library to use JSON as
the primary data type used to communicate with users; but for custom user
input and output.

The patch introduces the json.hpp header which is supplied by
https://github.com/nlohmann/json. The header is used unmodified
in the third_party directory. It is installed under the include/benchmark
prefix.

Additionally, this patch adds `Benchmark::WithInput` to allow
the passing of arbitrary JSON as an input argument to a benchmark.
The results of which can be accessed using `State::GetInput()`.

This patch also adds `State::operator[](std::string)`, which allows
users to report arbitrary JSON as output from a benchmark. See
the documentation for examples.
Pull Request #510: Begin JSON reporter change: Allow users to specify arbitrary JSON inp…

91 of 91 new or added lines in 4 files covered. (100.0%)

1523 of 1741 relevant lines covered (87.48%)

6739733.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/benchmark.cc

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/check.h
4
100.0
src/re.h
Jobs
ID Job ID Ran Files Coverage
1 1299.1 (COMPILER=g++-4.9 C_COMPILER=gcc-4.9 BUILD_TYPE=Coverage) 05 Jan 2018 11:22PM UTC 0
87.48
Travis Job 1299.1
Source Files on build 1299
  • Tree
  • List 0
  • Changed 23
  • Source Changed 5
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1299
  • Pull Request #510
  • PR Base - v2 (#1297)
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