Here is an excerpt from my Rails log:
Rendered songs / _song_list (683.4ms)
Completed in 841ms ( View: 633 , DB: 159) | 200 OK
What does Rails mean when it reports 633ms viewing costs?
In this particular case, I iterate through a set of elements and print <li>for each (like the name of a partial sentence) - is it Rails spending 633ms on string concatenation? I feel that (or any other CPU-bound operation) should be about infinitely fast.
source
share