profiler と benchmarker スクリプトのパスが違う(Rails 勉強中 #4)

Agile Web Development With Rails の内容と、Rails 1.0 の違いメモ。

P178、profiler と benchmarker のパスが違う。まずは profiler 。

Rails 本
depot> ruby script/profiler "Product.search('version_control') 10
Rails 1.0
depot> ruby script/performance/profiler "Product.search('version_control') 10

つづいて benchmarker 。

Rails 本
depot> ruby script/benchmarker 10 "Product.new_search('version_control')" \
                                  "Product.search('version_control')"
Rails 1.0
depot> ruby script/performance/benchmarker 10 "Product.new_search('version_control')" \
                                              "Product.search('version_control')"