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

Add frames delay #1153

Merged
merged 6 commits into from
Feb 15, 2024
Merged

Add frames delay #1153

merged 6 commits into from
Feb 15, 2024

Conversation

philipphofmann
Copy link
Member

Add docs for the performance metric frames delay.

Add docs for the performance metric frames delay.
@philipphofmann philipphofmann requested a review from a team February 12, 2024 09:08
Copy link

vercel bot commented Feb 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 15, 2024 1:52pm

Copy link
Member

@kahest kahest left a comment

Choose a reason for hiding this comment

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

LGTM, just left a clarifying question. I'm pretty familiar with the concept already, so it'll be good to have some more eyes on this

Copy link
Contributor

@brustolin brustolin left a comment

Choose a reason for hiding this comment

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

It looks good.
Left a couple of non blocking comments

src/docs/sdk/performance/frames-delay.mdx Outdated Show resolved Hide resolved
src/docs/sdk/performance/frames-delay.mdx Outdated Show resolved Hide resolved
@stefanosiano
Copy link
Member

stefanosiano commented Feb 12, 2024

looks good.
I would just clarify explicitly the case of concurrent spans: what happens when 2 spans are running?
should the frame delay be added to both (each with its own value) or only to one of the two?
e.g.
span 1 -> start
span 2 -> start
span 1 -> finish with fdd 10ms
span2 -> finish with fdd 50ms

  • should we send 10 as frame delay for span1 and 50 for span2? (I'd expect this, but there's no mention of this case in the docs)
  • or only 10 to span1 as it started first?
  • or only 50 to span2 as it finished last?

@philipphofmann
Copy link
Member Author

@stefanosiano, I updated the docs. Is it clear now how the logic should handle concurrent spans? If not, please tell me how to make it clearer.

Copy link
Member

@markushi markushi left a comment

Choose a reason for hiding this comment

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

LGTM!

src/docs/sdk/performance/frames-delay.mdx Outdated Show resolved Hide resolved
@philipphofmann philipphofmann enabled auto-merge (squash) February 15, 2024 13:50
@philipphofmann philipphofmann merged commit 58f8ded into master Feb 15, 2024
5 checks passed
@philipphofmann philipphofmann deleted the feat/frames-delay branch February 15, 2024 13:54
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

5 participants