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

ruby-grape / grape / 39053878850
100%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2026 05:28PM UTC
Jobs 32
Files 168
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

17 Oct 2026 05:28PM UTC coverage: 99.95%. Remained the same
39053878850

push

github

web-flow
Allocate less per request when presenting an entity or reading path params (#3033)

Profiling the grape-on-rack app under live load showed four per-request
allocations whose only use was to feed another one:

- `present` collected the `env`/`version` embeds into a Hash and splatted
  it into `represent`, whose keywords build a Hash anyway: two Hashes per
  call where one does.
- `present` built `[nil, object]` only to destructure it in the
  one-argument form.
- `Request#make_params` copied the routing args with `except` only to
  `deep_merge!` the copy into the params. A capture is a String or an
  Array of them, never a Hash, so the merge only ever assigned; the
  captures are now assigned directly, skipping Grape's own keys.
- `format_from_extension` sliced the extension out with an endless
  Range, an object of its own on every call.

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

1499 of 1501 branches covered (99.87%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 3 files covered. (100.0%)

4462 of 4463 relevant lines covered (99.98%)

29382.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_2.gemfile - 39053878850.1 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
2 run-3.4-Gemfile - 39053878850.2 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
3 run-4.0-gemfiles/multi_json.gemfile - 39053878850.3 17 Oct 2026 05:28PM UTC 166
46.22
GitHub Action Run
4 run-4.0-gemfiles/rack_3_0.gemfile - 39053878850.4 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
5 run-4.0-gemfiles/rails_8_1.gemfile - 39053878850.5 17 Oct 2026 05:28PM UTC 168
98.79
GitHub Action Run
6 run-4.0-gemfiles/grape_entity.gemfile - 39053878850.6 17 Oct 2026 05:28PM UTC 166
49.09
GitHub Action Run
7 run-4.0-gemfiles/rails_7_2.gemfile - 39053878850.7 17 Oct 2026 05:28PM UTC 168
98.79
GitHub Action Run
8 run-3.4-gemfiles/rails_8_1.gemfile - 39053878850.8 17 Oct 2026 05:28PM UTC 168
98.79
GitHub Action Run
9 run-3.4-gemfiles/rails_7_2.gemfile - 39053878850.9 17 Oct 2026 05:28PM UTC 168
98.79
GitHub Action Run
10 run-3.3-gemfiles/rack_3_0.gemfile - 39053878850.10 17 Oct 2026 05:28PM UTC 167
98.81
GitHub Action Run
11 run-3.4-gemfiles/rails_8_0.gemfile - 39053878850.11 17 Oct 2026 05:28PM UTC 168
98.79
GitHub Action Run
12 run-4.0-gemfiles/rails_8_0.gemfile - 39053878850.12 17 Oct 2026 05:28PM UTC 168
98.79
GitHub Action Run
13 run-3.3-gemfiles/rack_2_2.gemfile - 39053878850.13 17 Oct 2026 05:28PM UTC 167
98.77
GitHub Action Run
14 run-3.3-gemfiles/rails_8_1.gemfile - 39053878850.14 17 Oct 2026 05:28PM UTC 168
98.81
GitHub Action Run
15 run-3.3-gemfiles/rack_3_1.gemfile - 39053878850.15 17 Oct 2026 05:28PM UTC 167
98.81
GitHub Action Run
16 run-4.0-gemfiles/rack_2_2.gemfile - 39053878850.16 17 Oct 2026 05:28PM UTC 167
98.76
GitHub Action Run
17 run-3.4-gemfiles/rack_3_0.gemfile - 39053878850.17 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
18 run-3.3-gemfiles/rails_8_0.gemfile - 39053878850.18 17 Oct 2026 05:28PM UTC 168
98.81
GitHub Action Run
19 run-4.0-gemfiles/multi_xml_0_8.gemfile - 39053878850.19 17 Oct 2026 05:28PM UTC 166
45.95
GitHub Action Run
20 run-4.0-Gemfile - 39053878850.20 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
21 run-4.0-gemfiles/hashie.gemfile - 39053878850.21 17 Oct 2026 05:28PM UTC 166
60.05
GitHub Action Run
22 run-4.0-gemfiles/rack_3_1.gemfile - 39053878850.22 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
23 run-3.3-Gemfile - 39053878850.23 17 Oct 2026 05:28PM UTC 167
98.81
GitHub Action Run
24 run-4.0-gemfiles/dry_validation.gemfile - 39053878850.24 17 Oct 2026 05:28PM UTC 166
56.02
GitHub Action Run
25 run-4.0-gemfiles/multi_json_1_20.gemfile - 39053878850.25 17 Oct 2026 05:28PM UTC 166
46.26
GitHub Action Run
26 run-3.4-gemfiles/rack_3_1.gemfile - 39053878850.26 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
27 run-3.4-gemfiles/rack_2_2.gemfile - 39053878850.27 17 Oct 2026 05:28PM UTC 167
98.76
GitHub Action Run
28 run-4.0-gemfiles/multi_xml.gemfile - 39053878850.28 17 Oct 2026 05:28PM UTC 166
45.92
GitHub Action Run
29 run-4.0-gemfiles/rack_3_2.gemfile - 39053878850.29 17 Oct 2026 05:28PM UTC 167
98.79
GitHub Action Run
30 run-4.0-gemfiles/grape_swagger.gemfile - 39053878850.30 17 Oct 2026 05:28PM UTC 166
53.35
GitHub Action Run
31 run-3.3-gemfiles/rack_3_2.gemfile - 39053878850.31 17 Oct 2026 05:28PM UTC 167
98.81
GitHub Action Run
32 run-3.3-gemfiles/rails_7_2.gemfile - 39053878850.32 17 Oct 2026 05:28PM UTC 168
98.81
GitHub Action Run
Source Files on build 39053878850
  • Tree
  • List 168
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39053878850
  • 1ca227f8 on github
  • Prev Build on master (#39052774348)
  • Next Build on master (#39055077364)
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