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

ruby-grape / grape / 34523062380
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: benchmark/route-throughput-scenarios
DEFAULT BRANCH: master
Ran 10 Sep 2026 07:56PM UTC
Jobs 32
Files 169
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

10 Sep 2026 07:53PM UTC coverage: 99.184%. Remained the same
34523062380

Pull #2928

github

ericproulx
Settle the attributes iterator's per-scope state once per pass

For every element of an array scope, and for every validator on it,
`AttributesIterator#do_each` re-derived things that depend only on the
scope and the request: whether the scope iterates elements, whether its
params are an Array, which scope an element's index is recorded
against, and the request's `ParamScopeTracker`, a fiber-storage read.

They are now settled once per `#each` and handed down, and the
top-level call no longer allocates its empty `parent_indices`. An
element-iterating scope whose params are not an Array returns before
iterating, since it yielded and recorded nothing anyway. On a
ten-element array, one validator's iteration overhead went from 5.46 to
4.64 µs.

The branch where a lateral scope, such as a `with` group inside an
array, records each element's index against its nearest array ancestor
had no spec: removing it passed the suite while naming the wrong element
in errors. It now has one, which passes before and after this change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2928: Settle the attributes iterator's per-scope state once per pass

1308 of 1352 branches covered (96.75%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 1 file covered. (100.0%)

4040 of 4040 relevant lines covered (100.0%)

27271.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_3_2.gemfile - 34523062380.1 10 Sep 2026 07:57PM UTC 168
97.88
GitHub Action Run
2 run-3.4-gemfiles/rails_7_2.gemfile - 34523062380.2 10 Sep 2026 07:58PM UTC 169
97.88
GitHub Action Run
3 run-4.0-gemfiles/dry_validation.gemfile - 34523062380.3 10 Sep 2026 07:57PM UTC 167
57.76
GitHub Action Run
4 run-4.0-gemfiles/hashie.gemfile - 34523062380.4 10 Sep 2026 07:58PM UTC 167
61.74
GitHub Action Run
5 run-4.0-gemfiles/grape_entity.gemfile - 34523062380.5 10 Sep 2026 07:58PM UTC 167
50.26
GitHub Action Run
6 run-4.0-gemfiles/rails_8_0.gemfile - 34523062380.6 10 Sep 2026 07:58PM UTC 169
97.87
GitHub Action Run
7 run-3.3-Gemfile - 34523062380.7 10 Sep 2026 07:58PM UTC 168
97.9
GitHub Action Run
8 run-3.4-gemfiles/rack_3_0.gemfile - 34523062380.8 10 Sep 2026 07:57PM UTC 168
97.88
GitHub Action Run
9 run-3.4-Gemfile - 34523062380.9 10 Sep 2026 07:58PM UTC 168
97.86
GitHub Action Run
10 run-4.0-gemfiles/rack_3_2.gemfile - 34523062380.10 10 Sep 2026 07:57PM UTC 168
97.88
GitHub Action Run
11 run-4.0-gemfiles/rack_3_1.gemfile - 34523062380.11 10 Sep 2026 07:58PM UTC 168
97.86
GitHub Action Run
12 run-4.0-gemfiles/rack_2_2.gemfile - 34523062380.12 10 Sep 2026 07:58PM UTC 168
97.85
GitHub Action Run
13 run-4.0-gemfiles/multi_json.gemfile - 34523062380.13 10 Sep 2026 07:57PM UTC 167
47.35
GitHub Action Run
14 run-4.0-gemfiles/grape_swagger.gemfile - 34523062380.14 10 Sep 2026 07:57PM UTC 167
55.0
GitHub Action Run
15 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34523062380.15 10 Sep 2026 07:58PM UTC 167
47.0
GitHub Action Run
16 run-3.3-gemfiles/rails_8_0.gemfile - 34523062380.16 10 Sep 2026 07:58PM UTC 169
97.88
GitHub Action Run
17 run-3.4-gemfiles/rails_8_1.gemfile - 34523062380.17 10 Sep 2026 07:58PM UTC 169
97.88
GitHub Action Run
18 run-3.4-gemfiles/rack_3_1.gemfile - 34523062380.18 10 Sep 2026 07:57PM UTC 168
97.88
GitHub Action Run
19 run-3.3-gemfiles/rails_8_1.gemfile - 34523062380.19 10 Sep 2026 07:58PM UTC 169
97.9
GitHub Action Run
20 run-3.3-gemfiles/rack_2_2.gemfile - 34523062380.20 10 Sep 2026 07:56PM UTC 168
97.85
GitHub Action Run
21 run-4.0-gemfiles/multi_xml.gemfile - 34523062380.21 10 Sep 2026 07:58PM UTC 167
46.96
GitHub Action Run
22 run-4.0-gemfiles/rack_3_0.gemfile - 34523062380.22 10 Sep 2026 07:58PM UTC 168
97.88
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 34523062380.23 10 Sep 2026 07:59PM UTC 168
97.83
GitHub Action Run
24 run-4.0-gemfiles/multi_json_1_20.gemfile - 34523062380.24 10 Sep 2026 07:57PM UTC 167
47.39
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 34523062380.25 10 Sep 2026 07:56PM UTC 168
97.88
GitHub Action Run
26 run-4.0-Gemfile - 34523062380.26 10 Sep 2026 07:59PM UTC 168
97.86
GitHub Action Run
27 run-3.3-gemfiles/rack_3_1.gemfile - 34523062380.27 10 Sep 2026 07:56PM UTC 168
97.9
GitHub Action Run
28 run-3.3-gemfiles/rails_7_2.gemfile - 34523062380.28 10 Sep 2026 07:58PM UTC 169
97.88
GitHub Action Run
29 run-4.0-gemfiles/rails_7_2.gemfile - 34523062380.29 10 Sep 2026 07:59PM UTC 169
97.87
GitHub Action Run
30 run-3.4-gemfiles/rack_3_2.gemfile - 34523062380.30 10 Sep 2026 07:57PM UTC 168
97.88
GitHub Action Run
31 run-4.0-gemfiles/rails_8_1.gemfile - 34523062380.31 10 Sep 2026 07:56PM UTC 169
97.87
GitHub Action Run
32 run-3.4-gemfiles/rails_8_0.gemfile - 34523062380.32 10 Sep 2026 07:57PM UTC 169
97.88
GitHub Action Run
Source Files on build 34523062380
  • Tree
  • List 169
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34523062380
  • Pull Request #2928
  • PR Base - master (#34515497970)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc