Skip to content

Instantly share code, notes, and snippets.

@ensup
Last active March 11, 2022 14:56
Show Gist options
  • Save ensup/d124151a6fb904a9837fd37cf3379f57 to your computer and use it in GitHub Desktop.
Save ensup/d124151a6fb904a9837fd37cf3379f57 to your computer and use it in GitHub Desktop.
speed
const prev = Date.now()
for(let i = 0; i < 1000000000 ; i++){}
const aft = Date.now()
document.write(`${aft - prev}ms 걸림<br>`)
document.write(navigator.userAgent)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment