Skip to content

Instantly share code, notes, and snippets.

@tomhodgins
Created September 4, 2020 14:33
Show Gist options
  • Save tomhodgins/afb80f8298626b95a91b7fe3d092624a to your computer and use it in GitHub Desktop.
Save tomhodgins/afb80f8298626b95a91b7fe3d092624a to your computer and use it in GitHub Desktop.
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