今天早上,我将rails从3.2.12更新到3.2.13,导致加载我的视图出现重大延迟.这是从加载我的主页:
Rails 3.2.12:
Completed 200 OK in 387ms (Views: 339.0ms | ActiveRecord: 27.1ms)
Rails 3.2.13:
Completed 200 OK in 4416ms (Views: 4361.2ms | ActiveRecord: 28.7ms)
Run Code Online (Sandbox Code Playgroud)
两者之间唯一的区别就是它提交了Rails版本,当然这也导致很多其他宝石被更新......这是Gemfile.lock的不同之处:
GEM
remote: https://rubygems.org/
specs:
- actionmailer (3.2.12)
- actionpack (= 3.2.12)
- mail (~> 2.4.4)
- actionpack (3.2.12)
- activemodel (= 3.2.12)
- activesupport (= 3.2.12)
+ actionmailer (3.2.13)
+ actionpack (= 3.2.13)
+ mail (~> 2.5.3)
+ actionpack (3.2.13)
+ activemodel (= 3.2.13)
+ activesupport (= 3.2.13)
builder (~> 3.0.0)
erubis (~> 2.7.0) …Run Code Online (Sandbox Code Playgroud)