开发者

What does DB in Completed in 6427ms (View: 6279, DB: 96) mean?

I'm trying to lighten the page load, and I was curious what the DB in... :

Completed in开发者_StackOverflow社区 6427ms (View: 6279, DB: 96)

...meant ?

Because 6279 + 96 != 6427ms


Quoting the rails guide:

Completed in 5ms (View: 2, DB: 0) | 200 OK [http://0.0.0.0/items]

This data is fairly straightforward to understand. Rails uses millisecond(ms) as the metric to measure the time taken. The complete request spent 5 ms inside Rails, out of which 2 ms were spent rendering views and none was spent communication with the database. It’s safe to assume that the remaining 3 ms were spent inside the controller.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜