Home Page Icon
Home Page
Table of Contents for
Close
by Alexander Dymo
Ruby Performance Optimization
Ruby Performance Optimization
For the Best Reading Experience...
Table of Contents
Early praise for Ruby Performance Optimization
Preface
The Need for Speed
How to Read This Book
Acknowledgments
Chapter 1: What Makes Ruby Code Fast
What Makes Ruby Code Slow
Optimize Memory
Get Into the Performance Mind-set
Chapter 2: Fix Common Performance Problems
Save Memory
Optimize Your Iterators
Write Less Ruby
Takeaways
Chapter 3: Make Rails Faster
Make ActiveRecord Faster
Make ActionView Faster
Takeaways
Chapter 4: Profile
Measure with Ruby-Prof
Visualize with Ruby-Prof Printers
Visualize with KCachegrind (QCachegrind)
Takeaways
Chapter 5: Learn to Optimize with the Profiler
Optimize but Don’t Break
Pick Low-Hanging Fruit
Take a Step Back
Takeaways
Chapter 6: Profile Memory
Detect Excessive Memory Usage
Profile Memory with Ruby-Prof
Measure Memory Yourself with GC#stat and GC:: Profiler
Takeaways
Chapter 7: Measure
Minimize External Factors
Make Internals Behave Predictably
Analyze and Compare Measurements Using Statis tics
Takeaways
Chapter 8: Test Performance
Benchmark
Assert Performance
Report Slowdowns and Optimizations
Test Rails Application Performance
Takeaways
Chapter 9: Think Outside the Box
Cycle Long-Running Ins tances
Fork to Run Heavy Jobs
Do Out-of-Band Garbage Collection
Tune Your Database
Buy Enough Resources for Production
Takeaways
Chapter 10: Tune Up the Garbage Collector
Understand How Ruby Uses Memory
Know What Triggers GC
Understand Why GC in Ruby 2.1 and 2.2 Is So M uch Faster
Tune Up GC Settings
Takeaways
Onward!
You May Be Interested I n…
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
For the Best Reading Experience...
Next
Next Chapter
Table of Contents
To my wife Helen and my daughter Sophia.
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset