最近話題の
ActiveScaf
I’ve been on a benchmarki
ng blogging spree lately. Creating BenchmarkF orRails (B4R) with its non-invasi ve benchmarki ng technique has made it very easy to play around with timing of key Rails methods and develop a better picture of the true costs. The results have been amazing.
Railsのベンチマークでは測定しきれない部分の
ベンチマークを可能にする
BenchmarkF
具体的には、こんな感じで違いが出るようです(以下に抜粋)
Rails
Completed in 0.85246 (1 reqs/sec) Rendering:
0.48872 (57%) DB: 0.02561 (3%) BenchmarkF
orRails - [0.9532] GET /plans ----------
---------- -------- 0.8528 processing action 0.5015 rendering 0.2533 activereco rd find 0.0461 developmen t mode 0.0073 before filters 0.0046 session management 0.0000 after filters ---------- ---------- ---------- BenchmarkF orRails -
かなり細かいところまで計測できていますね。ちょっと面白いです。
posted by
genki
on Mon 10 Dec 2007
at 00:36