html5 - Performance API 當中的 startTime 具體的含義是什么?
問題描述
文檔上寫的好玄乎:
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.
這個時間具體的計算方式是什么?
問題解答
回答1:沒用過。看文檔的意思是說這個屬性是一個高精度的時間戳。 搜下HR-TIME-2是什么樣的看看。
相關(guān)文章:
1. javascript - 編程,算法的問題2. javascript - jQuery each 方法第三個參數(shù)args 如何解釋?3. ubuntu apt-get install update 無法更新4. webgl - android上類似汽車之家的3d全景照片怎么實現(xiàn)5. java - 阿里的開發(fā)手冊中為什么禁用map來作為查詢的接受類?6. javascript - 為什么嵌套的Promise不能按預期捕獲Exception?7. css3 - Typecho 后臺部分表單按鈕在 Chrome 下出現(xiàn)靈異動畫問題,求解決8. apache - 想把之前寫的單機版 windows 軟件改成網(wǎng)絡版,讓每個用戶可以注冊并登錄。類似 qq 的登陸,怎么架設服務器呢?9. java - 關(guān)于i++的一個題目10. node.js - win7下,npm 無法下載依賴包,淘寶鏡像也裝不上,求幫忙???
