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

extphprs / ext-php-rs / 23613692313
34%
master: 34%

Build:
Build:
LAST BUILD BRANCH: feat/zero-alloc-fast-path
DEFAULT BRANCH: master
Ran 26 Mar 2026 07:26PM UTC
Jobs 1
Files 92
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

26 Mar 2026 07:23PM UTC coverage: 34.115% (-1.3%) from 35.42%
23613692313

push

github

ptondereau
perf(macros): zero-alloc fast path for #[php_function] codegen

Bypass ArgParser for non-variadic functions. The macro now generates
direct zval reads from the call frame via pointer arithmetic instead
of building ArgParser with Vec/String heap allocations on every call.

Profiling shows 3.1x fewer instructions per function call (1,209 → 390)
by eliminating 4-6 heap allocations that were the dominant cost.

Variadic functions fall back to the existing ArgParser path unchanged.

Refs: #310

1 of 156 new or added lines in 2 files covered. (0.64%)

30 existing lines in 3 files now uncovered.

2211 of 6481 relevant lines covered (34.12%)

22.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
155
17.92
-5.53% crates/macros/src/function.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
66.04
-0.8% src/types/zval.rs
10
35.14
-27.03% src/zend/ex.rs
17
72.41
-19.54% src/args.rs
Jobs
ID Job ID Ran Files Coverage
1 23613692313.1 26 Mar 2026 07:26PM UTC 92
34.12
GitHub Action Run
Source Files on build 23613692313
  • Tree
  • List 92
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23613692313
  • 055cd12b on github
  • Prev Build on master (#23605410696)
  • Next Build on feat/zero-alloc-fast-path (#23613745408)
  • Delete
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