26

我们的 rails 应用程序在加载后运行良好且快速,但启动速度非常慢。控制台、乘客等都需要将近 10 秒才能启动。似乎比应该的要多。

我应该使用什么工具或方法来磨练最慢的部分?常见的嫌疑人是什么?

4

1 回答 1

18

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

于 2012-07-20T11:41:17.313 回答