Ruby App Boot Time Optimization
How to Fix Slow Code in Ruby - Shopify

How to Fix Slow Code in Ruby - Shopify

5/8/2020

What this post added

This post details approaches to identifying and fixing slow code through profiling (using tools like rbspy, stackprof, rack-mini-profiler, and app_profiler) and benchmarking (using Benchmark module, bm, bmbm, and benchmark-ips). It provides case studies on using these techniques to address performance regressions, such as unnecessary GC cycles caused by object allocation issues.

Read the original post ↗