Check DYLD method is executed on the main thread. It is taking around 70 ms, which can result in hangs, hitches or increase in app launch, depending on when the method is called.
The comparison and string initialization improves the performance more than 50 %. In my measurement it was down to 28 ms from 67 ms.
Configuration used to collect the numbers:
iPhone XS
iOS 17 RC
Low power mode enabled (it slows down the CPU for 40-50 %)
Check DYLD method is executed on the main thread. It is taking around 70 ms, which can result in hangs, hitches or increase in app launch, depending on when the method is called.
The comparison and string initialization improves the performance more than 50 %. In my measurement it was down to 28 ms from 67 ms.
Configuration used to collect the numbers: