Ruby performance optimization : why Ruby is slow, and how to fix it /
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Place of publication not identified] :
The Pragmatic Programmers,
[2015]
|
Colección: | Pragmatic programmers.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover; Table of Contents; 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 FruitTake 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 Behave Predictably; Analyze and Compare Measurements Using Statistics; Takeaways; 8. Test Performance; Benchmark; Assert Performance; Report Slowdowns and Optimizations; Test Rails Application Performance; Takeaways; 9. Think Outside the Box; Cycle Long-Running Instances; Fork to Run Heavy Jobs; Do Out-of-Band Garbage Collection.
- Tune Your DatabaseBuy Enough Resources for Production; Takeaways; 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 Much Faster; Tune Up GC Settings; Takeaways; Onward!; Index; â#x80;#x93; SYMBOLS â#x80;#x93;; â#x80;#x93; DIGITS â#x80;#x93;; â#x80;#x93; A â#x80;#x93;; â#x80;#x93; B â#x80;#x93;; â#x80;#x93; C â#x80;#x93;; â#x80;#x93; D â#x80;#x93;; â#x80;#x93; E â#x80;#x93;; â#x80;#x93; F â#x80;#x93;; â#x80;#x93; G â#x80;#x93;; â#x80;#x93; H â#x80;#x93;; â#x80;#x93; I â#x80;#x93;; â#x80;#x93; J â#x80;#x93;; â#x80;#x93; K â#x80;#x93;; â#x80;#x93; L â#x80;#x93;; â#x80;#x93; M â#x80;#x93;; â#x80;#x93; N â#x80;#x93;; â#x80;#x93; O â#x80;#x93;; â#x80;#x93; P â#x80;#x93;; â#x80;#x93; Q â#x80;#x93;; â#x80;#x93; R â#x80;#x93;; â#x80;#x93; S â#x80;#x93;; â#x80;#x93; T â#x80;#x93;; â#x80;#x93; U â#x80;#x93;; â#x80;#x93; V â#x80;#x93;; â#x80;#x93; W â#x80;#x93;; â#x80;#x93; X â#x80;#x93;; â#x80;#x93; Z â#x80;#x93.