Skip to content

fix(profiling): Round continuous profile timestamps appropriately#104541

Merged
Zylphrex merged 1 commit intomasterfrom
txiao/fix/round-continuous-profile-timestamps-appropriately
Dec 8, 2025
Merged

fix(profiling): Round continuous profile timestamps appropriately#104541
Zylphrex merged 1 commit intomasterfrom
txiao/fix/round-continuous-profile-timestamps-appropriately

Conversation

@Zylphrex
Copy link
Copy Markdown
Member

@Zylphrex Zylphrex commented Dec 8, 2025

When converting the reference epoch timestamp to iso strings, make sure we round the timestamps appropriately. Start timestamps should be rounded down and end timestamps should be rounded up so that we don't miss any samples due to bad rounding.

One example of this is if we have 2 samples in a chunk, and the end timestamp is rounded down, the 2nd sample is then lost.

When converting the reference epoch timestamp to iso strings, make sure we round
the timestamps appropriately. Start timestamps should be rounded down and end
timestamps should be rounded up so that we don't miss any samples due to bad
rounding.

One example of this is if we have 2 samples in a chunk, and the end timestamp is
rounded down, the 2nd sample is then lost.
@Zylphrex Zylphrex requested a review from a team as a code owner December 8, 2025 20:03
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 8, 2025
@Zylphrex Zylphrex enabled auto-merge (squash) December 8, 2025 20:13
@Zylphrex Zylphrex merged commit 83421d9 into master Dec 8, 2025
49 checks passed
@Zylphrex Zylphrex deleted the txiao/fix/round-continuous-profile-timestamps-appropriately branch December 8, 2025 20:14
ryan953 pushed a commit that referenced this pull request Dec 9, 2025
…04541)

When converting the reference epoch timestamp to iso strings, make sure
we round the timestamps appropriately. Start timestamps should be
rounded down and end timestamps should be rounded up so that we don't
miss any samples due to bad rounding.

One example of this is if we have 2 samples in a chunk, and the end
timestamp is rounded down, the 2nd sample is then lost.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2025
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.

3 participants