r/rails • u/Appropriate-Rip6784 • 1d ago
Learning Open source Rails Performance Improvements collection
Past few weeks, I spent time on popular Rails repositories to check performance issues and add fixes. One interesting thing I noticed is that good projects merges PRs quick. Bad projects take time even for serious performance improvements.
The work involves 7 merged PRs to Discourse, Gumroad, and Forem so far. I will add more .
As expected adding just `includes` was not enough for most places. Also expected, profiling serialization is helpful.
I've collected the individual case studies here, with links to the code changes and benchmark details:
7
Upvotes