Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I debug a slow rails app boot time?

Our rails app is nice and fast once it is loaded but the startup is brutally slow. Console, passenger etc all take almost 10 seconds to kick in. Seems to be way more than it should be.

What tools or methods should I use to hone in on the slowest parts? What are the usual suspects?

like image 875
chrishomer Avatar asked Sep 10 '25 21:09

chrishomer


1 Answers

I know this is an old question but I recently had an issue with load times and this is my fork of gem which helped me find which gems were the slowest, the good thing about this gem is that loads up with the rails console, and all the initializers are run.

https://github.com/mark-ellul/Bumbler

like image 151
Mark Ellul Avatar answered Sep 12 '25 14:09

Mark Ellul