-
Notifications
You must be signed in to change notification settings - Fork 468
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
Faster bundle installation #545
Comments
We are mostly at Apple’s mercy here since we are just using Apple’s APIs to install and don’t have a lot we can change. If you can find a faster way to install your binary in Xcode that would be something we could investigate(to match Xcode’s speed). |
I see, so Xcode is known to be faster? Is Xcode using APIs that simply haven't been reverse engineered and used yet, or is there some special entitlement/privilege that allows Xcode special APIs we couldn't use? |
I believe ios-deploy and Xcode are essentially identical in speed right now. If Xcode does do something substantially faster that would be something to investigate. |
ios-deploy is using the same API as Xcode for installation ( |
I'm seeing a ~1 minute install time for an app using Xcode, and a ~3 minute install time using ios-deploy |
|
@michaeleisel Can you share a test-case with us so we can reproduce the issue?
|
Bundle size is 150mb, command-line args are simple, |
|
I have a number of cases where I want to improve bundle installation speed and can't really leverage
--app_deltas
. E.g., because the two versions of the same app have few files in common (especially the binary), or because I don't want to risk cache invalidation. I'm wondering if there's any known way of speeding installation up. For example, I wonder if there's a way of sending a compressed bundle to the phone that it will uncompress itself, in the same way that it uncompresses downloads from the App Store. Are there any ideas for how to speed up bundle installation? And if there are, and they aren't in ios-deploy yet, I'd be happy to add them myself.The text was updated successfully, but these errors were encountered: