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

KarpelesLab / goro / 25828189816
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 09:54PM UTC
Jobs 1
Files 398
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

13 May 2026 09:44PM UTC coverage: 52.285% (+40.2%) from 12.12%
25828189816

push

github

MagicalTux
perf: cache ZNULL ZVal wrapper and speed up spl_object_hash (bug60598)

bug60598 creates 10k objects in a loop, each calling
spl_object_hash twice (\$containers[hash] = \$this in __construct,
\$containers[hash] = NULL in __destruct). Two changes shave ~20% off
wall time so the test fits in the 15s execution-time limit:

- ZNull.ZVal() returns a cached *ZVal instead of allocating a fresh
  wrapper per call. SetString/SetInt already use pointer-replacement
  for non-ref entries so the cached instance never gets mutated.
  Matches the existing zFalseZVal/zTrueZVal/smallIntZVals scheme.
- splObjectHash builds its 32-char zero-padded hex string manually
  instead of going through fmt.Sprintf, which dominated the per-call
  cost in tight loops.

Local timing on bug60598.phpt: 11.5s → 9.2s.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

18 of 18 new or added lines in 2 files covered. (100.0%)

14 existing lines in 2 files now uncovered.

60608 of 115918 relevant lines covered (52.29%)

766054.11 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
55.25
31.96% core/vm/ops_array.go
3
68.18
11.36% core/vm/ops_foreach.go
Jobs
ID Job ID Ran Files Coverage
1 25828189816.1 13 May 2026 09:54PM UTC 398
52.29
GitHub Action Run
Source Files on build 25828189816
  • Tree
  • List 398
  • Changed 323
  • Source Changed 2
  • Coverage Changed 323
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25828189816
  • aacc59e4 on github
  • Prev Build on master (#25827998872)
  • Next Build on master (#25828733995)
  • 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