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

Dymo, Alexander

ISBN 10: 1680500694 ISBN 13: 9781680500691
Published by Pragmatic Bookshelf, 2015
New paperback

From Russell Books, Victoria, BC, Canada Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Heritage Bookseller
AbeBooks member since 1996

This specific item is no longer available.

About this Item

Description:

Special order direct from the distributor. Seller Inventory # ING9781680500691

Report this item

Synopsis:

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.

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.

"About this title" may belong to another edition of this title.

Bibliographic Details

Title: Ruby Performance Optimization: Why Ruby is ...
Publisher: Pragmatic Bookshelf
Publication Date: 2015
Binding: paperback
Condition: New
Edition: 1st Edition.

Top Search Results from the AbeBooks Marketplace

Stock Image

Dymo, Alexander
Published by Pragmatic Bookshelf, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
Used Paperback

Seller: WorldofBooks, Goring-By-Sea, WS, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Seller Inventory # GOR009600105

Contact seller

Buy Used

£ 6.18
£ 5.60 shipping
Ships from United Kingdom to U.S.A.

Quantity: 1 available

Add to basket

Stock Image

Dymo, Alexander
Published by Pragmatic Bookshelf, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
Used paperback

Seller: Evergreen Goodwill, Seattle, WA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

paperback. Condition: Good. Seller Inventory # mon0000023112

Contact seller

Buy Used

£ 7.20
£ 2.96 shipping
Ships within U.S.A.

Quantity: 1 available

Add to basket

Stock Image

Dymo, Alexander
Published by Pragmatic Programmers, LLC, The, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
Used Softcover

Seller: TextbookRush, Grandview Heights, OH, U.S.A.

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Condition: Good. Seller Inventory # 48097257

Contact seller

Buy Used

£ 10.29
£ 2.96 shipping
Ships within U.S.A.

Quantity: 1 available

Add to basket

Stock Image

Dymo, Alexander
Published by Pragmatic Bookshelf, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
New Softcover

Seller: Ria Christie Collections, Uxbridge, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. In. Seller Inventory # ria9781680500691_new

Contact seller

Buy New

£ 22.79
£ 11.98 shipping
Ships from United Kingdom to U.S.A.

Quantity: 17 available

Add to basket

Seller Image

Alexander Dymo
Published by Pragmatic Bookshelf, US, 2016
ISBN 10: 1680500694 ISBN 13: 9781680500691
New Paperback

Seller: Rarewaves.com UK, London, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: New. 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. Seller Inventory # LU-9781680500691

Contact seller

Buy New

£ 23.94
£ 65 shipping
Ships from United Kingdom to U.S.A.

Quantity: 9 available

Add to basket

Seller Image

Dymo, Alexander
Published by Pragmatic Bookshelf, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
New Softcover

Seller: GreatBookPricesUK, Woodford Green, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # 23663425-n

Contact seller

Buy New

£ 24.49
£ 15 shipping
Ships from United Kingdom to U.S.A.

Quantity: 1 available

Add to basket

Stock Image

Alexander Dymo
Published by Pragmatic Bookshelf, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
New Paperback / softback

Seller: THE SAINT BOOKSTORE, Southport, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback / softback. Condition: New. New copy - Usually dispatched within 4 working days. Seller Inventory # B9781680500691

Contact seller

Buy New

£ 24.50
£ 14.74 shipping
Ships from United Kingdom to U.S.A.

Quantity: 9 available

Add to basket

Seller Image

Dymo, Alexander
Published by Pragmatic Bookshelf, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
New Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # 23663425-n

Contact seller

Buy New

£ 26.16
£ 1.96 shipping
Ships within U.S.A.

Quantity: 1 available

Add to basket

Seller Image

Dymo, Alexander
Published by Pragmatic Bookshelf, 2015
ISBN 10: 1680500694 ISBN 13: 9781680500691
Used Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: As New. Unread book in perfect condition. Seller Inventory # 23663425

Contact seller

Buy Used

£ 27.86
£ 1.96 shipping
Ships within U.S.A.

Quantity: 1 available

Add to basket

Seller Image

Alexander Dymo
Published by Pragmatic Bookshelf, US, 2016
ISBN 10: 1680500694 ISBN 13: 9781680500691
New Paperback

Seller: Rarewaves.com USA, London, LONDO, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: New. 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. Seller Inventory # LU-9781680500691

Contact seller

Buy New

£ 28.18
Free Shipping
Ships from United Kingdom to U.S.A.

Quantity: 9 available

Add to basket

There are 9 more copies of this book

View all search results for this book