Ruby Performance Optimization (Pragmatic Bookshelf)

Alexander Dymo @adymo
edited by Michael Swaine @michaelswaine
You don’t have to accept slow Ruby or Rails performance. In this comprehensive guide to Ruby optimization, you’ll discover exactly what makes Ruby and Rails code slow, and how to fix it. You’ll master memory and CPU optimization, profiling, measuring, performance testing, garbage collection, and tuning.
You’ll go from performance rookie to expert. First, you’ll learn the best practices for writing Ruby code that’s easy on the CPU and memory, and that doesn’t trigger the dreaded garbage collector. You’ll discover the bottlenecks in Rails code and learn how selective attribute loading and preloading can mitigate the performance costs of ActiveRecord. You’ll profile your code, make sense of profiler reports, and make optimization decisions based on them. You’ll write performance tests, and you’ll learn the right way to benchmark Rails.
Your code will run orders of magnitude faster.
“A must-have for anyone bringing performance-sensitive Ruby programs to production. It will teach you how to efficiently hunt down and correct the bottlenecks that make users sad and prevent teams from spending time building new functionality.”
–Matt Margolis, director of application development, Getty Images
Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout
Latest Threads About This Book

Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
Most Active Over Three Years

Book Info
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.