ruby - Rails 3.0.0.rc profiling: Thousands of Regexp#===(d1) calls -


I was getting 0.5 reCops / s on the front page of my rail app (a very handy, mostly static page Call pair, but WEBrick did not take any more than 0.8 MMS), served thin. I added the ruby-professor profiling tool to my application controller, and left the call graph in the standard out through the instructions on the blog of Dan Manz.

Here's a bit of graph:

It seems absurd, but googling for "reggae # # ===" does not find anything interesting.

Has anyone seen anyone like this? Better yet, know how to fix this?

Here is my gem:

  Mani 'rail', '3.0.0.rc' Mani 'thin' gem 'capistrano' Mani 'nakogri' Mani 'PG' Gem 'Ophthalmic' ,: git = & gt; 'Git: //github.com/binarylogic/authlogic.git' Mani 'paperclip' mani 'bundler' mani 'ruby-professor' gem 'daemans'  

I recommend trying some of the other Ruby-Profit outputs. If you catch it with Github then some have been added recently (but have not been released yet).


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -