Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Rails: Upgrade to 6.1.3 - #6394

Merged
NateBrady23 merged 15 commits into
TechEmpower:masterfrom
spizm:rails-6-1
Feb 22, 2021
Merged

NateBrady23 merged 15 commits into
TechEmpower:masterfrom
spizm:rails-6-1

Conversation

@spizm

@spizm spizm commented Feb 21, 2021

Copy link
Copy Markdown
Contributor

I'm back here to update Rails! Changes in this PR:

  • upgrade ruby to 3.0.0
  • upgrade rails to 6.1.3
  • upgrade all the gems
  • add cached query benchmarks
  • update controller to be more memory-efficient
  • make file structure and content more in line with what a standard rails project would have
  • remove unicorn since the vast majority of the rails community is on puma
  • switch default benchmark to use Postgres, as this is the rails default
  • remove middlewares not used for this benchmark suite
  • commit Gemfile.lock for more stable gem versioning
  • remove unused framework code
  • put bundle install into separate docker layer for better dev efficiency
  • reduce db pool size to the number of puma workers
  • reduce thread count to 5 (more just reduces perf by chewing up memory)

@NateBrady23
NateBrady23 merged commit 76179ba into TechEmpower:master Feb 22, 2021
andreasrueb pushed a commit to digitallyinduced/IHP-FrameworkBenchmarks that referenced this pull request Apr 13, 2021
* Upgrade to ruby 3 and 6.1

* update rails to 6.1.2.1

* db pool doesn't need to be bigger than the number of puma threads

* rails 6 automatically establishes the pool

* consistent quotes

* update to rails 6.1

* remove middlewares not required for this benchmark

* Gem lock files are a good thing

* oj does have a small but positive effect

* I suppose I'm an expert

* update mysql dockerfile

* remove excess boilerplate

* include rails bin

Co-authored-by: Nate <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants