ruby-head (2014-09-26)でRailsが遅い


trunk環境でRailsしてたらなんかリロード時に引っ掛かりを感じる。
少し調べるとどうも存在しないパスへのアクセスが遅いようだ。
以下はrails newしただけのアプリでとったログ。OSはOS X Mavericks。

#apache bench
##head(2014-09-26)
```
ab -n 20 http://0.0.0.0:3000/happiness  0.00s user 0.01s system 0% cpu 9.914 total
```
##2.1.3
```
ab -n 20 http://0.0.0.0:3000/happiness  0.00s user 0.01s system 1% cpu 0.616 total
```

#rais sのログ
##head(2014-09-26)
最後の行がポイントか。
"  Rendered /Users/ymmtmdk/.rvm/gems/ruby-head/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (334.8ms)
"

```
➜  jinsei  rvm use ruby-head && rails s
Using /Users/ymmtmdk/.rvm/gems/ruby-head
=> Booting WEBrick
=> Rails 4.1.6 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
[2014-09-27 12:18:30] INFO  WEBrick 1.3.1
[2014-09-27 12:18:30] INFO  ruby 2.2.0 (2014-09-26) [x86_64-darwin13]
[2014-09-27 12:18:30] INFO  WEBrick::HTTPServer#start: pid=55662 port=3000


Started GET "/happiness" for 127.0.0.1 at 2014-09-27 12:18:36 +0900

ActionController::RoutingError (No route matches [GET] "/happiness"):
  actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
  actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
  rack (1.5.2) lib/rack/runtime.rb:17:in `call'
  activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
  rack (1.5.2) lib/rack/lock.rb:17:in `call'
  actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
  rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
  railties (4.1.6) lib/rails/engine.rb:514:in `call'
  railties (4.1.6) lib/rails/application.rb:144:in `call'
  rack (1.5.2) lib/rack/lock.rb:17:in `call'
  rack (1.5.2) lib/rack/content_length.rb:14:in `call'
  rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
  /Users/ymmtmdk/.rvm/rubies/ruby-head/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
  /Users/ymmtmdk/.rvm/rubies/ruby-head/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
  /Users/ymmtmdk/.rvm/rubies/ruby-head/lib/ruby/2.2.0/webrick/server.rb:320:in `block in start_thread'


  Rendered /Users/ymmtmdk/.rvm/gems/ruby-head/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
  Rendered /Users/ymmtmdk/.rvm/gems/ruby-head/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.3ms)
  Rendered /Users/ymmtmdk/.rvm/gems/ruby-head/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (334.8ms)
```

##2.1.3
"  Rendered /Users/ymmtmdk/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (18.1ms)
"

```
➜  jinsei  rvm use ruby-2.1.3 && rails s
Using /Users/ymmtmdk/.rvm/gems/ruby-2.1.3
=> Booting WEBrick
=> Rails 4.1.6 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
[2014-09-27 12:19:29] INFO  WEBrick 1.3.1
[2014-09-27 12:19:29] INFO  ruby 2.1.3 (2014-09-19) [x86_64-darwin13.0]
[2014-09-27 12:19:29] INFO  WEBrick::HTTPServer#start: pid=55748 port=3000


Started GET "/happiness" for 127.0.0.1 at 2014-09-27 12:19:32 +0900

ActionController::RoutingError (No route matches [GET] "/happiness"):
  actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
  actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
  rack (1.5.2) lib/rack/runtime.rb:17:in `call'
  activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
  rack (1.5.2) lib/rack/lock.rb:17:in `call'
  actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
  rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
  railties (4.1.6) lib/rails/engine.rb:514:in `call'
  railties (4.1.6) lib/rails/application.rb:144:in `call'
  rack (1.5.2) lib/rack/lock.rb:17:in `call'
  rack (1.5.2) lib/rack/content_length.rb:14:in `call'
  rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
  /Users/ymmtmdk/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
  /Users/ymmtmdk/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
  /Users/ymmtmdk/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'


  Rendered /Users/ymmtmdk/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
  Rendered /Users/ymmtmdk/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.8ms)
  Rendered /Users/ymmtmdk/.rvm/gems/ruby-2.1.3/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (18.1ms)
```


どなたかの追試求む。