This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipconfig /release; ipconfig /flushdns; ipconfig /renew; netsh winsock reset; netsh interface ipv4 reset; netsh interface ipv6 reset; netsh interface ip delete destinationcache; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// These examples Block UI | |
let startTime = performance.now(); | |
while (performance.now() - startTime < 500) { | |
// // Do nothing for 500 ms to emulate extremely slow code | |
} | |
const wait = (ms) => { | |
const start = Date.now(); | |
let now = start; |
OlderNewer