Created
September 4, 2020 14:33
-
-
Save tomhodgins/afb80f8298626b95a91b7fe3d092624a to your computer and use it in GitHub Desktop.
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
let start = performance.now() | |
for ( | |
let count = 250 * 1000; | |
count --> 0; | |
) { | |
console.error('oops') | |
} | |
let end = performance.now() | |
console.log(`It took ${end - start}ms to cause a Sentry fire`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment