Repository navigation
feat: speed up device IPA uploads - #9
Merged
Merged
Conversation
added 2 commits
April 25, 2026 18:05
Use concurrent SFTP writes for IPA uploads to speed up transfers. Also clean up partial uploads on failure, handle close errors explicitly, and keep progress reporting accurate.
Owner
|
Thank you for contributing! |
korboybeats
pushed a commit
to korboybeats/ipadecrypt
that referenced
this pull request
May 3, 2026
* feat: speed up device IPA uploads Use concurrent SFTP writes for IPA uploads to speed up transfers. Also clean up partial uploads on failure, handle close errors explicitly, and keep progress reporting accurate. * refactor: simplify upload reader setup --------- Co-authored-by: blatant <blatants@protonmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
ReadFromWithConcurrencyfor higher SFTP throughputWhy
Uploading the source IPA to the device was the main end-to-end bottleneck even on a local 5 GHz network. This reduces round-trip overhead in the SFTP path without changing the overall decrypt flow.
Validation
go test ./...go vet ./...Benchmarks
Benchmarked three cached IPA decrypts on the same device (
iPhone 11,iOS 16.1.1) so each run used the same cached encrypted IPA input.161.44s82.92s48.64%faster172.81s87.42s49.41%faster113.07s63.86s43.52%faster447.32s234.20s47.64%fasterOverall runtime improved by
1.91x.Notes
These measurements were taken on one device/network setup and use cached encrypted IPAs to isolate the local upload/install/decrypt path from App Store CDN variance.