Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(apm): Use Performance API for timings when available #2492

Merged
merged 2 commits into from
Mar 12, 2020

Conversation

rhcarvalho
Copy link
Contributor

Instead of downgrading to use the dumb performanceFallback, in the
absence of a timeOrigin we can use INITIAL_TIME.

This should give better timings in Safari Web Workers.

packages/utils/src/misc.ts Outdated Show resolved Hide resolved
Instead of downgrading to use the dumb performanceFallback, in the
absence of a timeOrigin we can use INITIAL_TIME.

This should give better timings in Safari Web Workers.
@rhcarvalho rhcarvalho force-pushed the rhcarvalho/apm-initial-time-fallback branch from 686ac79 to 01a4402 Compare March 12, 2020 10:28
@rhcarvalho rhcarvalho requested a review from HazAT March 12, 2020 10:29
@getsentry-bot
Copy link
Contributor

getsentry-bot commented Mar 12, 2020

Messages
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 16.8838 kB) (ES6: 15.9229 kB)

📖 ✅ TSLint passed

Generated by 🚫 dangerJS against c2e33ca

Copy link
Member

@HazAT HazAT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog please :)

@rhcarvalho
Copy link
Contributor Author

Changelog please :)

Have it locally, will wait to see a green from CI to avoid restarting the dance. (and prob. ignore browserstack)

@rhcarvalho
Copy link
Contributor Author

@rhcarvalho rhcarvalho merged commit ef879bf into master Mar 12, 2020
@rhcarvalho rhcarvalho deleted the rhcarvalho/apm-initial-time-fallback branch March 12, 2020 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants