Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It 37829

Паперова книга
37829
Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It - фото 1
450

Все про “Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It”

Від видавця

You don't have to accept slow Ruby or Rails performance. In this comprehensive guide to Ruby optimization, you'll learn how to write faster Ruby code--but that's just the beginning. See exactly what makes Ruby and Rails code slow, and how to fix it. Alex Dymo will guide you through perils of memory and CPU optimization, profiling, measuring, performance testing, garbage collection, and tuning. You'll find that all those "hard" things aren't so difficult after all, and your code will run orders of magnitude faster.

 

This is the first book that ever consolidates all the Ruby performance optimization advice in one place. It's your comprehensive guide to memory optimization, CPU optimization, garbage collector tuning, profiling, measurements, performance testing, and more.

 

you'll go from performance rookie to expert. First, you'll learn the best practices for writing Ruby code that's easy not only on the CPU, but also on memory, and that doesn't trigger the dreaded garbage collector. You'll find out that garbage collection accounts for 80% of slowdowns, and often takes more than 50% of your program's execution time. And you'll discover the bottlenecks in Rails code and learn how selective attribute loading and preloading can mitigate the performance costs of ActiveRecord.

 

As you advance to Ruby performance expert, you'll learn how your profile code, how to make sense out of profiler reports, and how to make optimization decisions based on them. You'll make sure slow code doesn't creep back into your Ruby application by writing performance tests, and you'll learn the right way to benchmark Ruby.

 

And finally, you'll dive into the Ruby interpreter internals to really understand why garbage collection makes Ruby so slow, and how you can tune it up.

Анотація

Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It

Рецензії

0

Всі характеристики

Товар входить до категорії

  • Самовивіз з відділень поштових операторів від 45 ₴ - 80 ₴
  • Доставка поштовими сервісами - тарифи перевізника
Схожі товари
Ruby Under a Microscope. An Illustrated Guide to Ruby Internals 1st Edition
13598
Pat Shaughnessy
785 ₴
Самовчитель Ruby
112428
Игорь Симдянов
790 ₴
The Well-Grounded Rubyist 2nd Edition
37830
David A. Black
850 ₴
The Well-Grounded Rubyist, Third Edition
119902
David A. BlackJoseph Leo III
850 ₴
Ruby для романтиков
245425
Роман Пушкин
850 ₴
Agile Web Development with Rails 4
13600
Sam Ruby, Dave Thomas, David Heinemeier Hansson
900 ₴
Шлях Ruby. Третє видання
31605
Хэл ФултонАндре Арко
980 ₴
Agile Web Development with Rails 7
197723
Sam RubyDave Thomas
850 ₴1'000 ₴
Ruby on Rails для початківців
39873
Майкл Хартл
1'530 ₴