Benchmark Ruby Code
Play
12:39 CC

Benchmark Ruby Code

#262 Oct 4, 2020 free
It's easy to accidentally write slow code in our applications. In this episode, we look at how we can benchmark our code and examples of some methods which are slower than others.

Benchmarking and Refactoring the content_for View Helper
Play
7:11 CC

Benchmarking and Refactoring the content_for View Helper

#90 Jul 23, 2017 free
In a recent blog post, we looked into the content_for view helper to render breadcrumbs. Once we got the feature working, it's time to refactor the feature to lower technical debt.

ActiveSupport::Notifications
Play
13:47 CC

ActiveSupport::Notifications

#409 Jul 9, 2023 pro
In this episode, we'll dive into ActiveSupport::Notifications to perform simple metrics. We'll then use this technique to troubleshoot and pinpoint where slow running lines of code are. It can be a great debugging technique when trying to deal with slow requests or functions.

Not RJS and Turbolinks - Part 2
Play
6:09 CC

Not RJS and Turbolinks - Part 2

#21 Nov 25, 2015 free
A continuation from Episode 20 where we explore rendering the user's edit pages in a modal on a per request basis. Instead of rendering all modals for the users in the index, we will request them using remote javascript.

Application Performance Monitoring in Rails
Play
10:38 CC

Application Performance Monitoring in Rails

#185 Apr 28, 2019 pro
Monitoring your application's performance is an important part of knowing its health. In this episode, we look at three popular services.