■ [ruby][ruby-prof] ruby-prof asakusa.rb で話題に出たらしいので使ってみた。gem にあるらしいのでインストールして、READMEに書いてある通りに仕掛ける。 試しに http://github.com/hsbt/tdiary/tree/master/core/ の TDiary::Dispatcher::IndexMain をプロファイルしてみた。先頭の10個はこんな感じ。 %self total self wait child calls name 34.85 0.01 0.01 0.00 0.00 58 Kernel#instance_eval 5.88 0.00 0.00 0.00 0.00 11 Kernel#gem_original_require 4.13 0.01 0.00 0.00 0.01 22 Array#each 3.81 0
![[ruby][ruby-prof] ruby-prof, [tDiary][Heroku] tDiary on Heroku - HsbtDiary(2010-05-26)](https://cdn-ak-scissors.b.st-hatena.com/image/square/8cab6183abe73ade0ce0a24c302ac36ee5c17b43/height=288;version=1;width=512/https%3A%2F%2Fwww.hsbt.org%2Fdiary%2Ftheme%2Fogimage.png)