RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: performance xFree Episodes xPerformance x
MiniProfiler
Episode #368Jul 24, 2012107 comments

MiniProfiler

MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code. (9 minutes)
Rails Metal
Episode #150Feb 23, 200944 comments

Rails Metal

Rails Metal is a way to bypass the standard Rails request process for a performance boost. In this episode you will learn how to shave off a few milliseconds using Metal. (9 minutes)
Request Profiling
Episode #98Mar 24, 200835 comments

Request Profiling

You can use profiling to determine where the performance bottlenecks are in specific Rails actions. Watch this episode for details. (10 minutes)
Analyzing the Production Log
Episode #97Mar 17, 200836 comments

Analyzing the Production Log

In order to improve performance of your Rails application you need to find the bottlenecks. A great starting point is your production log. In this episode you will see how to use RAWK to analyze your log file and determine which controller actions take up the most processing time. (5 minutes)
Counter Cache Column
Episode #23Apr 25, 200769 comments

Counter Cache Column

If you need to display the record count for a has_many association, you can improve performance by caching that number in a column. (7 minutes)
Eager Loading
Episode #22Apr 23, 200754 comments

Eager Loading

One way to improve performance is to cut down on the number of SQL queries. You can do this through eager loading. Learn all about it in this episode! (4 minutes)
Caching with Instance Variables
Episode #1Mar 04, 200769 comments

Caching with Instance Variables

Learn a quick way to improve performance. Just store the end result of an expensive command in an instance variable! (2 minutes)