Skip to main content

Join GoRails to continue learning

Subscribe to GoRails to get access to this episode and all other pro episodes, and access to our private Slack community of Ruby and Rails devs.

Subscribe to watch

Login to your account

Debugging Performance Problems In Your Views


Episode 54 · May 4, 2015

Learn how I discovered and solved a performance bug in's view partial

Performance Debugging ActiveRecord

Performance debugging tips

  • Rack Mini Profiler can help find a lot of the locations where ActiveRecord queries are made
  • Check your Rails logs for CACHE hits in ActiveRecord
  • Look at how long your views and partials take to render, check out the slowest ones first
  • Delete code in your views till you find what is slowing them down

Earn a free month

Subscribe or login to view the transcript for this episode.


Subscribe to the newsletter

Join 31,353+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.