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

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

Build:
Build:
LAST BUILD BRANCH: feat/zero-alloc-fast-path
DEFAULT BRANCH: master
Ran 26 Mar 2026 07:27PM 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:24PM UTC coverage: 34.115% (-1.3%) from 35.42%
23613745408

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 163 new or added lines in 3 files covered. (0.61%)

82 existing lines in 4 files now uncovered.

2211 of 6481 relevant lines covered (34.12%)

22.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
23.6
0.0% crates/macros/src/lib.rs
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
52
23.6
0.0% crates/macros/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 23613745408.1 26 Mar 2026 07:27PM UTC 92
34.12
GitHub Action Run
Source Files on build 23613745408
  • 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 #23613745408
  • 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