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

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

Build:
Build:
LAST BUILD BRANCH: feat/zero-alloc-fast-path
DEFAULT BRANCH: master
Ran 26 Mar 2026 07:18PM 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:14PM UTC coverage: 34.338% (-1.1%) from 35.42%
23613318066

Pull #699

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
Pull Request #699: perf(macros): zero-alloc fast path for #[php_function] codegen

1 of 114 new or added lines in 2 files covered. (0.88%)

30 existing lines in 3 files now uncovered.

2211 of 6439 relevant lines covered (34.34%)

22.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
113
19.15
-4.3% 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 23613318066.1 26 Mar 2026 07:18PM UTC 92
34.34
GitHub Action Run
Source Files on build 23613318066
  • 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 #23613318066
  • Pull Request #699
  • PR Base - master (#23605410696)
  • 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