html5 - Performance API 當(dāng)中的 startTime 具體的含義是什么?
問(wèn)題描述
文檔上寫的好玄乎:
https://w3c.github.io/resourc...
The startTime attribute must return a DOMHighResTimeStamp [HR-TIME-2] with the time immediately before the user agent starts to queue the resource for fetching. If there are HTTP redirects or equivalent when fetching the resource, and if all the redirects or equivalent are from the same origin as the current document or the timing allow check algorithm passes, this attribute must return the same value as redirectStart. Otherwise, this attribute must return the same value as fetchStart.
這個(gè)時(shí)間具體的計(jì)算方式是什么?
問(wèn)題解答
回答1:沒(méi)用過(guò)。看文檔的意思是說(shuō)這個(gè)屬性是一個(gè)高精度的時(shí)間戳。 搜下HR-TIME-2是什么樣的看看。
相關(guān)文章:
1. nignx - docker內(nèi)nginx 80端口被占用2. 關(guān)于docker下的nginx壓力測(cè)試3. dockerfile - [docker build image失敗- npm install]4. java - 阿里的開(kāi)發(fā)手冊(cè)中為什么禁用map來(lái)作為查詢的接受類?5. docker images顯示的鏡像過(guò)多,狗眼被亮瞎了,怎么辦?6. android - 百度地圖加載完成監(jiān)聽(tīng)7. docker網(wǎng)絡(luò)端口映射,沒(méi)有方便點(diǎn)的操作方法么?8. macos - mac下docker如何設(shè)置代理9. html5 - 使用echarts中的圖表 一個(gè)頁(yè)面導(dǎo)入了好幾個(gè)js圖表 實(shí)現(xiàn)echarts圖表隨著瀏覽器窗口變化而變化時(shí)出現(xiàn)了問(wèn)題10. 在windows下安裝docker Toolbox 啟動(dòng)Docker Quickstart Terminal 失敗!
