-
Notifications
You must be signed in to change notification settings - Fork 94
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
revert(profiling): Remove concurrent profiling #1697
revert(profiling): Remove concurrent profiling #1697
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes android profile parsing, yet there's still unlimited expansion in expand_cocoa_profile
and expand_sample_profile
. Shouldn't we remove that, too?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preliminary review of Android.
This piece of code was duplicating profiles and trimming them to the right duration for each transaction they were associated with.
As we want to be able to only accept profiles associated with a transaction, we have to send the profile in the same envelope as transaction so dynamic sampling works properly. We can't start multiple profilers at the time (Android API we're using doesn't allow that) or we can't do the processing the server was doing to get one profile and trim on the client. We will keep trimming
sample
andcocoa
formats.Therefore, we decided to remove this concurrent profiling support.