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

Note moyenne 4,21
( 24 avis fournis par Goodreads )
 
9781680500691: 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 ever that 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 profile your 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.

What You Need:

Some version of Ruby. The advice from this book applies to all modern Ruby versions from 1.9 to 2.2. 80% of the material will also be useful for legacy Ruby 1.8 users, and there is 1.8-specific advice as well.

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.

About the Author :

Alexander Dymo is an entrepreneur, YCombinator alum, free software developer, and book author. Alexander has built many applications with Ruby on Rails for his two startups and has spent long hours optimizing them. He regularly presents at Ruby, Rails, and Postgres conferences.

Review :

"This book is 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

"A fantastic book. Probably the best tech book I have read in the last few years. It brings together information I can't just find in 30 minutes of web searches. This book has taught me to be a better developer and to start filling a hole in my skill set." -- Charley Stran, Web developer, TheBlaze | Mercury Radio Arts

"Ruby Performance Optimization has changed the way I develop. I now think about simple performance tweaks before I commit code. It is a book I keep close for reference when solving tough performance issues." -- Jeff Holland, Senior software engineer, Ackmann & Dickenson

"For programmers who aren't familiar with what is going on under the covers, I think this book will open their eyes to new levels of understanding their code. -- Kim Shrier, Principal, Westryn Internet Services, Shrier and Deihl

Les informations fournies dans la section « A propos du livre » peuvent faire référence à une autre édition de ce titre.

Acheter neuf Afficher le livre
EUR 20,71

Autre devise

Frais de port : Gratuit
De Royaume-Uni vers Etats-Unis

Destinations, frais et délais

Ajouter au panier

Meilleurs résultats de recherche sur AbeBooks

1.

Alexander Dymo
Edité par Pragmatic Bookshelf, United States (2015)
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) Paperback Quantité : 1
Vendeur
The Book Depository
(London, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre Pragmatic Bookshelf, United States, 2015. Paperback. État : New. Language: English . Brand New Book. 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 ever that 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 profile your 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 Rails application by writing performance tests, and you ll learn the right way to benchmark Rails. 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. What You Need: Some version of Ruby. The advice from this book applies to all modern Ruby versions from 1.9 to 2.2. 80 of the material will also be useful for legacy Ruby 1.8 users, and there is 1.8-specific advice as well. N° de réf. du libraire AAH9781680500691

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 20,71
Autre devise

Ajouter au panier

Frais de port : Gratuit
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

2.

Dymo, Alexander
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) Quantité : 1
Vendeur
Paperbackshop-US
(Wood Dale, IL, Etats-Unis)
Evaluation vendeur
[?]

Description du livre 2015. PAP. État : New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. N° de réf. du libraire KS-9781680500691

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 17,44
Autre devise

Ajouter au panier

Frais de port : EUR 3,41
Vers Etats-Unis
Destinations, frais et délais

3.

Dymo, Alexander
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) Paperback Quantité : > 20
impression à la demande
Vendeur
BargainBookStores
(Grand Rapids, MI, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Paperback. État : New. This item is printed on demand. Item doesn't include CD/DVD. N° de réf. du libraire 9305766

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 17,47
Autre devise

Ajouter au panier

Frais de port : EUR 3,41
Vers Etats-Unis
Destinations, frais et délais

4.

Alexander Dymo
Edité par Pragmatic Bookshelf, United States (2015)
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) Paperback Quantité : 1
Vendeur
The Book Depository US
(London, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre Pragmatic Bookshelf, United States, 2015. Paperback. État : New. Language: English . Brand New Book. 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 ever that 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 profile your 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 Rails application by writing performance tests, and you ll learn the right way to benchmark Rails. 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. What You Need: Some version of Ruby. The advice from this book applies to all modern Ruby versions from 1.9 to 2.2. 80 of the material will also be useful for legacy Ruby 1.8 users, and there is 1.8-specific advice as well. N° de réf. du libraire AAH9781680500691

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 20,95
Autre devise

Ajouter au panier

Frais de port : Gratuit
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

5.

Dymo, Alexander
Edité par Pragmatic Bookshelf
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) PAPERBACK Quantité : > 20
Vendeur
Mediaoutlet12345
(Springfield, VA, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Pragmatic Bookshelf. PAPERBACK. État : New. 1680500694 *BRAND NEW* Ships Same Day or Next!. N° de réf. du libraire SWATI2122339815

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 18,34
Autre devise

Ajouter au panier

Frais de port : EUR 3,41
Vers Etats-Unis
Destinations, frais et délais

6.

Dymo, Alexander
Edité par Pragmatic Bookshelf (2017)
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) Paperback Quantité : 14
impression à la demande
Vendeur
Murray Media
(North Miami Beach, FL, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Pragmatic Bookshelf, 2017. Paperback. État : New. This item is printed on demand. N° de réf. du libraire 1680500694

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 22,92
Autre devise

Ajouter au panier

Frais de port : EUR 2,56
Vers Etats-Unis
Destinations, frais et délais

7.

Dymo, Alexander
Edité par Pragmatic Bookshelf
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) PAPERBACK Quantité : 3
Vendeur
Lakeside Books
(Benton Harbor, MI, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Pragmatic Bookshelf. PAPERBACK. État : New. 1680500694 BRAND NEW, GIFT QUALITY! NOT OVERSTOCKS OR MARKED UP REMAINDERS! DIRECT FROM THE PUBLISHER!|0.78. N° de réf. du libraire OTF-Y-9781680500691

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 22,11
Autre devise

Ajouter au panier

Frais de port : EUR 3,41
Vers Etats-Unis
Destinations, frais et délais

8.

Alexander Dymo
Edité par Oand#8242;Reilly (2015)
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) Quantité : 4
Vendeur
Books2Anywhere
(Fairford, GLOS, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre Oand#8242;Reilly, 2015. PAP. État : New. New Book. Shipped from UK in 4 to 14 days. Established seller since 2000. N° de réf. du libraire WO-9781680500691

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 16,94
Autre devise

Ajouter au panier

Frais de port : EUR 10,07
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

9.

Alexander Dymo
Edité par Pragmatic Bookshelf 2015-12-15, Dallas, Texas (2015)
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) paperback Quantité : > 20
Vendeur
Blackwell's
(Oxford, OX, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre Pragmatic Bookshelf 2015-12-15, Dallas, Texas, 2015. paperback. État : New. N° de réf. du libraire 9781680500691

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 24,49
Autre devise

Ajouter au panier

Frais de port : EUR 3,36
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

10.

Alexander Dymo
Edité par Pragmatic Bookshelf
ISBN 10 : 1680500694 ISBN 13 : 9781680500691
Neuf(s) Paperback Quantité : 1
Vendeur
THE SAINT BOOKSTORE
(Southport, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre Pragmatic Bookshelf. Paperback. État : new. BRAND NEW, Ruby Performance Optimization, Alexander Dymo, 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 ever that 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 profile your 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 Rails application by writing performance tests, and you'll learn the right way to benchmark Rails. 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. What You Need: Some version of Ruby. The advice from this book applies to all modern Ruby versions from 1.9 to 2.2. 80% of the material will also be useful for legacy Ruby 1.8 users, and there is 1.8-specific advice as well. N° de réf. du libraire B9781680500691

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 20,11
Autre devise

Ajouter au panier

Frais de port : EUR 7,78
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

autres exemplaires de ce livre sont disponibles

Afficher tous les résultats pour ce livre