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

brick / math / 334 / 4
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2019 09:29PM UTC
Files 15
Run time 1s
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

25 Apr 2019 09:27PM UTC coverage: 86.377% (-0.2%) from 86.544%
CALCULATOR=BCMath

push

travis-ci

BenMorel
Avoid passing string lengths around in NativeCalculator method calls

Benchmarks show that it is faster to call strlen() again in the method, rather than passing lengths as parameters. This is explained by the fact that STRLEN is now a single opcode in PHP 7, and that pushing additional function parameters to the stack consumes opcodes as well.

856 of 991 relevant lines covered (86.38%)

235.99 hits per line

Source Files on job 334.4 (CALCULATOR=BCMath)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 311
  • Travis Job 334.4
  • 5695572d on github
  • Prev Job for CALCULATOR=BCMath on master (#333.5)
  • Next Job for CALCULATOR=BCMath on master (#335.4)
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