What does Rails mean when it tells you how to spend time browsing?

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.

+3
source share
2 answers

, . , , include , , View, ActiveRecord, .

+1

View : , , , . , . , ?

0

Source: https://habr.com/ru/post/1728689/


All Articles