Skip to content

Conversation

@metalmatze
Copy link
Member

Since it's possible to have delta profiles that aren't cpu/nanoseconds we still need to query them correctly.
Additionally, setting the resultType is fixed again too.

@alwaysmeticulous
Copy link

alwaysmeticulous bot commented May 7, 2024

🤖 Meticulous spotted visual differences in 1 of 416 screens tested: view and approve differences detected.

Last updated for commit ff4ed0e. This comment will update as new commits are pushed.

}

queryParts.Meta.Timestamp = start
queryParts.Meta.SampleType = resultType
Copy link
Member

Choose a reason for hiding this comment

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

I'm not a fan of overriding a sub-struct of queryParts like this, we don't use anything else of queryParts

Copy link
Member Author

Choose a reason for hiding this comment

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

We return queryParts because those are now passed into SymbolizeArrowRecord to check for delta profiles.

Since it's possible to have delta profiles that aren't cpu/nanoseconds we still need to query them correctly.
Additionally, setting the resultType is fixed again too.
@brancz brancz merged commit 8b5df16 into main May 7, 2024
@brancz brancz deleted the query-delta-non-ns branch May 7, 2024 18:22
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.

3 participants