https://www.jianshu.com
Chrome DevTools 的 console
不过 lifecycle 里的各种耗时时间挺有意思
是不是忘删 console.log 了 哈哈
Release: production-20190811033856
Environment: production
{
"link": "https://www.jianshu.com/p/4ced94958e13",
"times": {
"alltime": 1158,
"details": {
"redirect": 0,
"dns": 0,
"ttfb": 496,
"static": 495,
"render": 660,
"onload": 1565534859918
},
"lifecycle": {
"_1": {
"key": "redirect",
"desc": "网页重定向的耗时",
"value": 0
},
"_2": {
"key": "cache",
"desc": "检查本地缓存的耗时",
"value": 0
},
"_3": {
"key": "dns",
"desc": "DNS 查询的耗时",
"value": 0
},
"_4": {
"key": "tcp",
"desc": "TCP 连接的耗时",
"value": 0
},
"_5": {
"key": "request",
"desc": "客户端发起请求的耗时",
"value": 493
},
"_6": {
"key": "response",
"desc": "服务端响应的耗时",
"value": 2
},
"_7": {
"key": "render",
"desc": "渲染页面的耗时",
"value": 660
},
"__": 1155
}
},
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
}