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

Ignore iOS prewarming #97

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Ignore iOS prewarming #97

merged 1 commit into from
Aug 24, 2023

Conversation

oblador
Copy link
Owner

@oblador oblador commented Jul 11, 2023

As discussed in #68 the iOS prewarming of apps might caused distorted native launch measurements. We've had similar issues on android where fork time could be days in the past causing weird outliers in RUM that skew avg metrics (which is why I predominantly use median instead of average).

This PR changes the iOS native launch metrics to be based on main() process only, thereby skipping any warmup steps done by the OS to load different system libraries etc. This will inevitably make this duration shorter for super-cold launches, but way less variance – in my testing repeat launches (aka not the first launch after install) give similar number to before.

Curious to get feedback on this change @colinta @opayen @j-piasecki @mikeduminy

@oblador oblador merged commit 6af0029 into master Aug 24, 2023
@oblador oblador deleted the ignore-ios-prewarming branch August 24, 2023 14:21
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.

1 participant