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

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

Build:
Build:
LAST BUILD BRANCH: feat/zero-alloc-fast-path
DEFAULT BRANCH: master
Ran 26 Mar 2026 07:54PM 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:51PM UTC coverage: 34.063% (-1.4%) from 35.42%
23614889641

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 166 new or added lines in 2 files covered. (0.6%)

30 existing lines in 3 files now uncovered.

2211 of 6491 relevant lines covered (34.06%)

22.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
165
17.65
-5.8% 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 23614889641.1 26 Mar 2026 07:54PM UTC 92
34.06
GitHub Action Run
Source Files on build 23614889641
  • Tree
  • List 92
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23614889641
  • 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