Skip to content

Release 4.22.0 - #2774

Merged
joelhawksley merged 2 commits into
mainfrom
release-4-22-0
Nov 3, 2026
Merged

joelhawksley merged 2 commits into
mainfrom
release-4-22-0

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Automated release PR for version 4.22.0.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Release benchmark results

Workflow run

Rails 8.1

Base: v4.21.0; head: 5d029e4b0e5b8a2649974209a9e78c87d8251489 (pull request merge commit).

ViewComponent performance (Rails 8.1.2, ruby 4.0.9)

Ratios are component render time / equivalent partial render time; for cold_digest, cold component digest time / cold partial digest time; and for boot, time spent in ViewComponent during boot / the rest of boot. Lower is faster.

Scenario Base ratio Head ratio Change Allocations (base → head)
component 0.162 0.161 -0.5% 255 → 255 ✅
inline_call 0.161 0.159 -1.2% 316 → 316 ✅
inline_erb_template 0.177 0.174 -1.5% 266 → 266 ✅
slots 0.020 0.020 -1.7% 44 → 44 ✅
collection 0.124 0.124 +0.4% 211 → 211 ✅
cold_digest 2443.435 73.587 -97.0% 1096826 → 78341 ✅
boot 7.586 1.469 -80.6% 14691122 → 1423904 ✅

No scenario regressed by more than 5.0%.

Rails main

Base: v4.21.0; head: 5d029e4b0e5b8a2649974209a9e78c87d8251489 (pull request merge commit).

ViewComponent performance (Rails 8.2.0.alpha, ruby 4.0.9)

Ratios are component render time / equivalent partial render time; for cold_digest, cold component digest time / cold partial digest time; and for boot, time spent in ViewComponent during boot / the rest of boot. Lower is faster.

Scenario Base ratio Head ratio Change Allocations (base → head)
component 1.357 1.386 +2.1% 4335 → 4335 ✅
inline_call 1.326 1.364 +2.9% 4396 → 4396 ✅
inline_erb_template 1.374 1.402 +2.0% 4346 → 4346 ✅
slots 0.067 0.068 +2.3% 204 → 204 ✅
collection 0.102 0.102 -0.1% 290 → 290 ✅
cold_digest 2700.106 74.056 -97.3% 1096758 → 78279 ✅
boot 6.747 1.293 -80.8% 14702106 → 1423265 ✅

No scenario regressed by more than 5.0%.

@joelhawksley
joelhawksley merged commit b1fd129 into main Nov 3, 2026
30 checks passed
@joelhawksley
joelhawksley deleted the release-4-22-0 branch November 3, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant