November 2015
Intermediate to advanced
200 pages
4h 26m
English
| Preface |
| The Need for Speed |
| How to Read This Book |
| Acknowledgments |
| 1. | What Makes Ruby Code Fast |
| What Makes Ruby Code Slow |
| Optimize Memory |
| Get Into the Performance Mind-set |
| 2. | Fix Common Performance Problems |
| Save Memory |
| Optimize Your Iterators |
| Write Less Ruby |
| Takeaways |
| 3. | Make Rails Faster |
| Make ActiveRecord Faster |
| Make ActionView Faster |
| Takeaways |
| 4. | Profile |
| Measure with Ruby-Prof |
| Visualize with Ruby-Prof Printers |
| Visualize with KCachegrind (QCachegrind) |
| Takeaways |
| 5. | Learn to Optimize with the Profiler |
| Optimize but Don’t Break |
| Pick Low-Hanging Fruit |
| Take a Step Back |
| Takeaways |
| 6. | Profile Memory |
| Detect Excessive Memory Usage |
| Profile Memory with Ruby-Prof |
| Measure Memory Yourself with GC#stat and GC::Profiler |
| Takeaways |
| 7. | Measure |
| Minimize External Factors |
| Make Internals ... |
Read now
Unlock full access