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

extphprs / ext-php-rs / 44356245556
77%
master: 77%

Build:
Build:
LAST BUILD BRANCH: feat/union-untyped-args
DEFAULT BRANCH: master
Ran 18 Nov 2026 05:18PM UTC
Jobs 1
Files 104
Run time 1min
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

18 Nov 2026 05:13PM UTC coverage: 76.612% (-0.02%) from 76.634%
44356245556

push

github

web-flow
perf(macro): read constructor arguments from the call frame (#858)

* perf(macro): read constructor arguments from the call frame

A function or method reads its arguments straight from the call frame. A
constructor still built an `Arg` for each parameter on every `new`, which
allocates the parameter's name and formats its default value, and then an
`ArgParser` over them.

A constructor without a variadic parameter now uses the same bindings as
a method. `benches/benches/object_new.php` with 5,000,000 iterations goes
from 0.69 s to 0.37 s of user time on an M-series Mac.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* refactor(macro): build the ArgParser pieces only for a variadic constructor

Also assert the message of the null error and that no exception is chained.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(macro): pin the constructor fast path and document it

Share has_variadic() between the function and constructor paths, add a
defaulted __construct to the class expansion snapshot, assert the
ArgumentCountError messages, and list constructors in the guide's fast
path section.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>

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

7 existing lines in 2 files now uncovered.

12284 of 16034 relevant lines covered (76.61%)

66.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
95.43
-1.14% src/args.rs
3
76.47
-5.88% src/zend/ex.rs
Jobs
ID Job ID Ran Files Coverage
1 44356245556.1 18 Nov 2026 05:18PM UTC 104
76.61
GitHub Action Run
Source Files on build 44356245556
  • Tree
  • List 104
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44356245556
  • db13119e on github
  • Prev Build on main (#44354207987)
  • Next Build on main (#44730302453)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc