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. android - NavigationView 的側(cè)滑菜單中如何保存新增項(通過程序添加)2. 除了 python2 和 python3,ipython notebook 還可以用哪些內(nèi)核?3. 老師 我是一個沒有學過php語言的準畢業(yè)生 我希望您能幫我一下4. python - 通過正則提取出來的ip,怎么命名5. 這段代碼既不提示錯誤也看不到結(jié)果,請老師明示錯在哪里,謝謝!6. 提示語法錯誤語法錯誤: unexpected ’abstract’ (T_ABSTRACT)7. tp5 不同控制器中的變量調(diào)用問題8. python - 管道符和ssh傳文件9. mysql服務無法啟動1067錯誤,誰知道正確的解決方法?10. php7.3.4中怎么開啟pdo驅(qū)動
