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

ruby-grape / grape / 33382099315
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: perf/endpoint-helpers-prototype
DEFAULT BRANCH: master
Ran 31 Aug 2026 10:22AM UTC
Jobs 32
Files 169
Run time 2min
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

31 Aug 2026 10:22AM UTC coverage: 96.978%. Remained the same
33382099315

push

github

ericproulx
Read the params builder setting with `[]` instead of `method_missing`

`Grape::Request#initialize` runs once per request and resolves the default
params builder through `Grape.config.param_builder`. dry-configurable's Config
defines no readers for its settings: the call lands in `method_missing`, which
derives the setting name with `method_name.to_s.tr("=", "").to_sym` — two
throwaway Strings and a slow dispatch, on every request.

`Config#[]` is the same lookup without either. Measured in one process:

    Grape.config.param_builder      282 ns   3 objects
    Grape.config[:param_builder]     44 ns   0 objects   6.4x faster

Three fewer objects allocated per request, on every request, on every endpoint
— confirmed end to end with a deterministic allocation count against a small
API (46.1 -> 43.1 objects for a bare JSON GET).

Nothing else changes: `method_missing` resolves `param_builder` to exactly this
lookup, so a `Grape.config.param_builder = ...` set anywhere still takes effect
the same way.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

1238 of 1330 branches covered (93.08%)

Branch coverage included in aggregate %.

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

3897 of 3965 relevant lines covered (98.28%)

27167.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_swagger.gemfile - 33382099315.1 31 Aug 2026 10:23AM UTC 168
55.19
GitHub Action Run
2 run-3.3-Gemfile - 33382099315.2 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
3 run-4.0-gemfiles/multi_json_1_20.gemfile - 33382099315.3 31 Aug 2026 10:24AM UTC 168
47.44
GitHub Action Run
4 run-4.0-gemfiles/multi_json.gemfile - 33382099315.4 31 Aug 2026 10:22AM UTC 168
47.4
GitHub Action Run
5 run-4.0-gemfiles/rack_3_1.gemfile - 33382099315.5 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
6 run-4.0-gemfiles/multi_xml.gemfile - 33382099315.6 31 Aug 2026 10:22AM UTC 168
46.8
GitHub Action Run
7 run-3.3-gemfiles/rack_3_0.gemfile - 33382099315.7 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
8 run-4.0-gemfiles/rails_8_1.gemfile - 33382099315.8 31 Aug 2026 10:22AM UTC 169
95.73
GitHub Action Run
9 run-3.3-gemfiles/rails_7_2.gemfile - 33382099315.9 31 Aug 2026 10:22AM UTC 169
95.73
GitHub Action Run
10 run-4.0-gemfiles/rack_3_2.gemfile - 33382099315.10 31 Aug 2026 10:23AM UTC 168
95.73
GitHub Action Run
11 run-4.0-gemfiles/grape_entity.gemfile - 33382099315.11 31 Aug 2026 10:22AM UTC 168
50.1
GitHub Action Run
12 run-4.0-gemfiles/rack_2_2.gemfile - 33382099315.12 31 Aug 2026 10:23AM UTC 168
95.69
GitHub Action Run
13 run-3.4-gemfiles/rails_8_0.gemfile - 33382099315.13 31 Aug 2026 10:22AM UTC 169
95.73
GitHub Action Run
14 run-3.4-gemfiles/rack_2_2.gemfile - 33382099315.14 31 Aug 2026 10:22AM UTC 168
95.69
GitHub Action Run
15 run-3.3-gemfiles/rails_8_1.gemfile - 33382099315.15 31 Aug 2026 10:22AM UTC 169
95.73
GitHub Action Run
16 run-4.0-gemfiles/dry_validation.gemfile - 33382099315.16 31 Aug 2026 10:23AM UTC 168
57.8
GitHub Action Run
17 run-3.3-gemfiles/rack_3_2.gemfile - 33382099315.17 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
18 run-3.4-gemfiles/rails_8_1.gemfile - 33382099315.18 31 Aug 2026 10:23AM UTC 169
95.73
GitHub Action Run
19 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33382099315.19 31 Aug 2026 10:22AM UTC 168
46.83
GitHub Action Run
20 run-3.4-gemfiles/rails_7_2.gemfile - 33382099315.20 31 Aug 2026 10:23AM UTC 169
95.73
GitHub Action Run
21 run-3.4-Gemfile - 33382099315.21 31 Aug 2026 10:23AM UTC 168
95.73
GitHub Action Run
22 run-4.0-gemfiles/rack_3_0.gemfile - 33382099315.22 31 Aug 2026 10:23AM UTC 168
95.73
GitHub Action Run
23 run-3.4-gemfiles/rack_3_1.gemfile - 33382099315.23 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
24 run-3.3-gemfiles/rack_3_1.gemfile - 33382099315.24 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
25 run-3.3-gemfiles/rails_8_0.gemfile - 33382099315.25 31 Aug 2026 10:22AM UTC 169
95.73
GitHub Action Run
26 run-4.0-gemfiles/rails_7_2.gemfile - 33382099315.26 31 Aug 2026 10:22AM UTC 169
95.73
GitHub Action Run
27 run-4.0-gemfiles/rails_8_0.gemfile - 33382099315.27 31 Aug 2026 10:22AM UTC 169
95.73
GitHub Action Run
28 run-4.0-Gemfile - 33382099315.28 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
29 run-3.4-gemfiles/rack_3_2.gemfile - 33382099315.29 31 Aug 2026 10:23AM UTC 168
95.73
GitHub Action Run
30 run-4.0-gemfiles/hashie.gemfile - 33382099315.30 31 Aug 2026 10:22AM UTC 168
61.64
GitHub Action Run
31 run-3.4-gemfiles/rack_3_0.gemfile - 33382099315.31 31 Aug 2026 10:22AM UTC 168
95.73
GitHub Action Run
32 run-3.3-gemfiles/rack_2_2.gemfile - 33382099315.32 31 Aug 2026 10:23AM UTC 168
95.69
GitHub Action Run
Source Files on build 33382099315
  • Tree
  • List 169
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33382099315
  • c2d459b6 on github
  • Prev Build on master (#33322439088)
  • Next Build on perf/config-param-builder (#33382226079)
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