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

wikimedia / parsoid / 2407
85%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2019 08:40PM UTC
Jobs 3
Files 116
Run time 7min
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
2407

push

travis-ci

subbuss
Add PHPUtils::pushArray()

The considerations are similar to JavaScript. The array has to be passed
by reference explicitly, whereas in JavaScript this is the default. I
omitted the return value to make it more clear that the parameter is
being modified.

Benchmarking shows that it is necessary. Naively using array_merge()
with a small array on the RHS requires copying the LHS. Passing the LHS
by value, appending to it and returning it also requires copying the
LHS. I also benchmarked the case of a small array on the LHS joined to a
large array on the RHS, there was a ~7µs constant overhead.

Change-Id: Ib6d0e2c8c

9557 of 12028 branches covered (79.46%)

14871 of 17612 relevant lines covered (84.44%)

86195.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2407.1 22 Mar 2019 08:41PM UTC 0
84.44
Travis Job 2407.1
2 2407.2 22 Mar 2019 08:40PM UTC 0
84.44
Travis Job 2407.2
3 2407.3 22 Mar 2019 08:47PM UTC 0
84.44
Travis Job 2407.3
Source Files on build 2407
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2407
  • c4f28416 on github
  • Prev Build on master (#2405)
  • Next Build on master (#2408)
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