Skip to content

fix(perf-issues): Allow http timings small drift #54547

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

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

k-fish
Copy link
Member

@k-fish k-fish commented Aug 10, 2023

Summary

It seems there are times where the http timings are slightly off from span duration, in the millisecond range. This is likely due to the differences between timing the fetch operations and how PerformanceNetworkTiming works, but for now we can ease off the exit condition by a few milliseconds so we get subtimings when it's really close.

Screenshots

Timings won't get generated if they are outside the bounds of the span at all currently.
Screenshot 2023-08-10 at 10 07 46 AM

It seems there are times where the http timings are slightly off from span duration, in the millisecond range. This is likely due to the differences between timing the fetch operations and how PerformanceNetworkTiming works, but for now we can ease of the exit condition so we get subtimings when it's really close.
@k-fish k-fish requested a review from a team as a code owner August 10, 2023 14:07
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 10, 2023
@k-fish k-fish enabled auto-merge (squash) August 10, 2023 14:07
@k-fish k-fish merged commit b73e7e8 into master Aug 10, 2023
@k-fish k-fish deleted the fix/perf-http-timings-allow-small-adjustments branch August 10, 2023 14:33
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants