Skip to content

Instantly share code, notes, and snippets.

@SeonHyungJo
Created December 19, 2019 13:31
Show Gist options
  • Save SeonHyungJo/4e54dc72044669b1e30281bf194a232b to your computer and use it in GitHub Desktop.
Save SeonHyungJo/4e54dc72044669b1e30281bf194a232b to your computer and use it in GitHub Desktop.
console.log(performance.now())
window.setTimeout(() => {console.log(performance.now()); console.log('settimeout')}, 0)
var animationCallback = () => {
console.log('AnimationFrame')
window.requestAnimationFrame(animationCallback)
}
animationCallback()
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Promise.resolve().then(() => console.log('promise!!!'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment