Baseline Widely available
Experimental: ããã¯å®é¨çãªæ©è½ã§ãã
æ¬çªã§ä½¿ç¨ããåã«ãã©ã¦ã¶ã¼äºææ§ä¸è¦§è¡¨ããã§ãã¯ãã¦ãã ããã
loadEventEnd
èªã¿åãå°ç¨ããããã£ã¯ãç¾å¨ã®ããã¥ã¡ã³ãã®ãã¼ãã¤ãã³ããå®äºããæå»ã¨åãtimestamp
ãè¿ãã¾ãã
ç¾å¨ã®ããã¥ã¡ã³ãã®ãã¼ãã¤ãã³ããå®äºããæå»ã表ã timestamp
ã
次ã®ä¾ã¯ããã®ããããã£ã®ä½¿ç¨æ¹æ³ã示ãã¦ãã¾ãã
function print_nav_timing_data() {
// Use getEntriesByType() to just get the "navigation" events
var perfEntries = performance.getEntriesByType("navigation");
for (var i = 0; i < perfEntries.length; i++) {
console.log("= Navigation entry[" + i + "]");
var p = perfEntries[i];
// dom Properties
console.log(
"DOM content loaded = " +
(p.domContentLoadedEventEnd - p.domContentLoadedEventStart),
);
console.log("DOM complete = " + p.domComplete);
console.log("DOM interactive = " + p.interactive);
// document load and unload time
console.log("document load = " + (p.loadEventEnd - p.loadEventStart));
console.log("document unload = " + (p.unloadEventEnd - p.unloadEventStart));
// other properties
console.log("type = " + p.type);
console.log("redirectCount = " + p.redirectCount);
}
}
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4