Page 1 of 1

Faster code signing validation at runtime?

PostPosted: Fri Mar 27, 2020 12:26 am
by flickz
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?