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

nlohmann / json / 1723
100%
develop: 99%

Build:
Build:
LAST BUILD BRANCH: copyright
DEFAULT BRANCH: develop
Ran 28 Feb 2017 03:37PM UTC
Jobs 1
Files 1
Run time 40s
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
1723

push

travis-ci

nlohmann
:zap: micro-optimization of dump()

A lot of small changes to avoid memory allocations:

- The locale is only queried once rather than with every number
serialization.
- The indentation string is recycled between different calls.
- The string escape function avoids a copy if no escaping is necessary.
- The string escape and the space function use a complete switch case
instead of cascaded ifs.

Cachegrind measures some 15% performance improvement.

27 of 27 new or added lines in 1 file covered. (100.0%)

2863 of 2866 relevant lines covered (99.9%)

2349798.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
src/json.hpp
Jobs
ID Job ID Ran Files Coverage
5 1723.5 (COMPILER=g++-4.9 SPECIAL=coveralls) 28 Feb 2017 03:38PM UTC 0
99.9
Travis Job 1723.5
Source Files on build 1723
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1723
  • 224f9907 on github
  • Prev Build on feature/serialization_class (#1722)
  • Next Build on feature/serialization_class (#1724)
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