-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[mono][ci] Improve CI perf by excluding intermediate dir from iOS app bundles #94304
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tagging subscribers to this area: @directhex Issue DetailsTesting the PR on Helix for now.
|
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
69bc895
to
caeb00e
Compare
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
steveisok
approved these changes
Nov 3, 2023
kotlarmilos
approved these changes
Nov 3, 2023
The failures are unrelated. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR improves CI performance for ios/tvos lanes across different pipelines.
When we introduced AOT compilation on Helix, by mistake, we started including intermediate build directories in the app bundles.
This negatively affected:
With this PR we improve this in the following way:
5,7 x
2,8 x
Outcome
It is not uncommon that we sometimes experience timeouts on Apple Helix queues, this fix should hopefully positively impact those issues (eg: #93784 ) and reduce the cost of running tests on ios/tvos devices.
The impact is not that significant on
runtime
pipeline as we are not running the full test-suite on this pipeline.However on
runtime-extra-platforms
the impact is much more noticeable as it can be seen in the breakdown below (expand the dedicated analyses sections).Detailed analysis
Here is the breakdown of comparisons between CI runs on the main branch and on this PR, for both
runtime
pipeline andruntime-extra-platforms
Deployment time
Deployment time
As I was not able to measure this on the Helix machine, I ran benchmarks locally (as-if I was building/deploying on a Helix machine) by comparing the time it takes to deploy/run bundles on
main
branch and with thisPR
:Bundle size
runtime pipeline
ios-arm64 Release AllSubsets_Mono
tvos-arm64 Release AllSubsets_Mono
runtime-extra-platforms pipeline
ios-arm64 Release AllSubsets_Mono
tvos-arm64 Release AllSubsets_Mono