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

nikic / PHP-Parser / 533
93%

Build:
DEFAULT BRANCH: master
Ran 05 Feb 2017 11:03AM UTC
Jobs 1
Files 206
Run time 9s
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
533

push

travis-ci

nikic
Use closures instead of methods for semantic actions

The dispatch using $this->{'reduceRule' . $rule}() is very expensive
because it involves
 * One allocation when converting $rule to a string
 * Another allocation when concatenating the two strings
 * Lowercasing during the method call
 * Various uncached method checks, e.g. visibility.

Using an array of closures for semantic action dispatch is
significantly more efficient.

4954 of 5171 relevant lines covered (95.8%)

84.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 533.1 05 Feb 2017 11:02AM UTC 0
95.8
Travis Job 533.1
Source Files on build 533
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #533
  • 8f623fb2 on github
  • Prev Build on master (#529)
  • Next Build on master (#534)
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