Baseline Widely available
connectEnd
ã¯èªã¿åãå°ç¨ããããã£ã§ããã©ã¦ã¶ã¼ããªã½ã¼ã¹ãåå¾ããããã«ãµã¼ãã¼ã¸ã®æ¥ç¶ã確ç«ãçµãã£ãç´å¾ã® timestamp
ãè¿ãã¾ãããã®ã¿ã¤ã ã¹ã¿ã³ãå¤ã«ã¯ããã©ã³ã¹ãã¼ãæ¥ç¶ã確ç«ããããã®æéãTLS ãã³ãã·ã§ã¤ã¯ã SOCKS èªè¨¼ãªã©ã®ä»ã®æéãå«ã¾ãã¾ãã
connectEnd
ããããã£ã¯ä»¥ä¸ã®å¤ãåãã¾ãã
DOMHighResTimeStamp
ã0
ã§ããTiming-Allow-Origin
ã¬ã¹ãã³ã¹ãããã¼ã使ç¨ãããªãã£ãå ´å㯠0
ã¨ãªãã¾ããconnectEnd
㨠connectStart
ããããã£ã使ç¨ãã¦ã TCP ãã³ãã·ã§ã¤ã¯ãçºçããã¨ãã«ã©ãããããããããè¨æ¸¬ãããã¨ãã§ãã¾ãã
const tcp = entry.connectEnd - entry.connectStart;
PerformanceObserver
ã使ç¨ããä¾ã§ãããã®ãªãã¸ã§ã¯ãã¯ãæ°ãã resource
ããã©ã¼ãã³ã¹é
ç®ããã©ã¦ã¶ã¼ã®ããã©ã¼ãã³ã¹ã¿ã¤ã ã©ã¤ã³ã«è¨é²ãããã¨ããããéç¥ãã¾ãããªãã¶ã¼ãã¼ã使ãããåã®é
ç®ã«ã¢ã¯ã»ã¹ããããã« buffered
ãªãã·ã§ã³ã使ç¨ãã¾ãã
const observer = new PerformanceObserver((list) => {
list.getEntries().forEach((entry) => {
const tcp = entry.connectEnd - entry.connectStart;
if (tcp > 0) {
console.log(`${entry.name}: TCP handshake duration: ${tcp}ms`);
}
});
});
observer.observe({ type: "resource", buffered: true });
Performance.getEntriesByType()
ã使ç¨ããä¾ã§ãããã®ã¡ã½ãããå¼ã³åºããæç¹ã§ãã©ã¦ã¶ã¼ä¸ã®ããã©ã¼ãã³ã¹ã¿ã¤ã ã©ã¤ã³ã«åå¨ãã resource
ããã©ã¼ãã³ã¹é
ç®ã®ã¿ã表示ãã¾ãã
const resources = performance.getEntriesByType("resource");
resources.forEach((entry) => {
const tcp = entry.connectEnd - entry.connectStart;
if (tcp > 0) {
console.log(`${entry.name}: TCP handshake duration: ${tcp}ms`);
}
});
ãªãªã¸ã³éã®ã¿ã¤ãã³ã°æ
å ±
connectEnd
ããããã£ã®å¤ã 0
ã§ããå ´åããã®ãªã½ã¼ã¹ã¯ãªãªã¸ã³éãªã¯ã¨ã¹ãã§ããå¯è½æ§ãããã¾ãããªãªã¸ã³éã®ã¿ã¤ãã³ã°æ
å ±ãè¦ãããã«ã¯ãHTTP ã® Timing-Allow-Origin
ã¬ã¹ãã³ã¹ãããã¼ãè¨å®ããå¿
è¦ãããã¾ãã
ä¾ãã°ãhttps://developer.mozilla.org
ã«ã¿ã¤ãã³ã°ãªã½ã¼ã¹ãè¦ããã¨ã許å¯ããã«ã¯ããªãªã¸ã³éãªã½ã¼ã¹ã§æ¬¡ã®ãã®ãéä¿¡ããå¿
è¦ãããã¾ãã
Timing-Allow-Origin: https://developer.mozilla.org
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
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