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是什么樣的看看。
相關文章:
1. mysql - 記得以前在哪里看過一個估算時間的網(wǎng)站2. css3 - 純css實現(xiàn)點擊特效3. MySQL中的enum類型有什么優(yōu)點?4. javascript - 關于<a>元素與<input>元素的JS事件運行問題5. javascript - vue 怎么渲染自定義組件6. python - 啟動Eric6時報錯:’qscintilla_zh_CN’ could not be loaded7. mysql - 查詢字段做了索引為什么不起效,還有查詢一個月的時候數(shù)據(jù)都是全部出來的,如果分拆3次的話就沒問題,為什么呢。8. ID主鍵不是自增的嗎 為什么還要加null9. android下css3動畫非常卡,GPU也不差啊10. css - 新手做響應式布局, 斷點過后右側(cè)出現(xiàn)空白,求幫助,謝謝。
