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

stedolan / jq / 377
84%

Build:
DEFAULT BRANCH: master
Ran 11 Dec 2017 05:49PM UTC
Jobs 1
Files 252
Run time 14s
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
377

push

travis-ci

nicowilliams
<a href="https://github.com/stedolan/jq/commit/<a class=hub.com/stedolan/jq/commit/9a4576e7567dd38b91f28592b47eb6dafe0c4332">9a4576e75<a href="https://github.com/stedolan/jq/commit/9a4576e7567dd38b91f28592b47eb6dafe0c4332">&quot;&gt;Revert &amp;quot;reduce: handle empty updates (fix #1313)&quot;

This reverts commit </a><a class="double-link" href="https://github.com/stedolan/jq/commit/<a class="double-link" href="https://github.com/stedolan/jq/commit/e24af3c78e78a3aab05a2800d825d56f1d842b1b">e24af3c78</a>">e24af3c78</a><a href="https://github.com/stedolan/jq/commit/9a4576e7567dd38b91f28592b47eb6dafe0c4332">.

While the semantics are desirable, there is no way to implement them
efficiently.  The reason is that in order to handle backtracking (empty)
from the state update expression, we have to retain a reference to the
reduction state value in order to restore it upon backtracking.
Retaining a reference to the reduction state kills performance by
causing lots of additional memory allocations and garbage because the
input to the update expression will always have at least two references,
thus no changes to it can be done in-place, and all changes end up being
CoW changes.

Avoiding this is the very reason for the LOADVN instruction (leaving
`null` in the variable loaded from).

5146 of 6079 relevant lines covered (84.65%)

6821776.3 hits per line

Jobs
ID Job ID Ran Files Coverage
5 377.5 (COVERAGE="--disable-valgrind --enable-gcov") 11 Dec 2017 05:49PM UTC 0
84.65
Travis Job 377.5
Source Files on build 377
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #377
  • 9a4576e7 on github
  • Prev Build on master (#369)
  • Next Build on master (#378)
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