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

ruby-grape / grape / 26754793706 / 24
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2026 12:27PM UTC
Files 165
Run time 7s
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

01 Jun 2026 12:26PM UTC coverage: 95.647% (+0.002%) from 95.645%
26754793706.24

push

github

web-flow
Lazy-allocate ParamScopeTracker's identity hashes (#2753)

ParamScopeTracker eagerly built two {}.compare_by_identity hashes in its
constructor, so every validating request allocated both even though many
validators (presence, coercion of flat params) never touch either tracker.

Replace the eager initialize with memoized private accessors that allocate
each hash on first use. Behaviour is unchanged: reads still return nil /
EMPTY_PARAMS when nothing was stored.

In a mixed-endpoint memory_profiler run this drops the two allocation sites
from ~1,900 to ~500 objects each (~0.72 MB / ~2,800 fewer objects overall).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

1091 of 1205 branches covered (90.54%)

Branch coverage included in aggregate %.

3501 of 3596 relevant lines covered (97.36%)

968.1 hits per line

Source Files on job run-3.3-gemfiles/rack_3_2.gemfile - 26754793706.24
  • Tree
  • List 165
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26754793706
  • eb484f69 on github
  • Prev Job for on master (#26754256824.4)
  • Next Job for on master (#26755015790.8)
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