I'm trying to profile app startup after moving from static libraries to frameworks. We have 30 or so frameworks (fyi: cocoapods) so I want to check that it's not affecting performance. Anecdotal testing in the team says that it isn't, but I would like some numbers as well!
I've added the environment variables DYLD_PRINT_STATISTICS
and DYLD_PRINT_LIBRARIES
to see what the linker is doing, but all the output I get is from the DYLD_PRINT_LIBRARIES
variable. I can see that the frameworks are loading correctly, but get no statistics from them.
I've tried restarting the device to make sure that the frameworks aren't in memory already but that hasn't helped.
Any other suggestions as to why I'm not getting any output from DYLD_PRINT_STATISTICS
?
DYLD_PRINT_STATISTICS
only seems to work on the simulator for me. – Kotick