Faster code signing validation at runtime?

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

Faster code signing validation at runtime?

Postby flickz » Fri Mar 27, 2020 12:26 am

I'd like to reduce the startup time of a large-scale iOS app that I work on. I noticed on another large-scale project that reducing page faults could improve startup time by as much as 10%, and one theory I had for this was that code signing validation, where iOS hashes each page, was taking up a bunch of time. For /usr/bin/codesign, I see I can I can use --digest-algorithm=... to use a faster hash instead of SHA-256. The fastest one it seems to have is SHA-1. But what other slower hash algorithms might Apple support, at least for validating? Are there any other ways to speed up this code signing validation for an iOS app from the App Store?
Posts: 8
Joined: Tue Jan 10, 2017 7:32 pm

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 8 guests