-
Notifications
You must be signed in to change notification settings - Fork 351
Dynamic frameworks load time? #491
Comments
Are you on iOS9? |
iOS 8.1 |
We definitely saw a longer launch time for eigen, it was significant on iOS 9 devices ( after being compiled and deployed from Xcode 6 ) but it wasn't worrying on eigen ( which has way more Pods ) for the last release. |
I've seen long launch times, but nothing that would stop the app from launching. Maybe the hardware we run on is fast enough. Iit hasn't been a pressing issue for us on this app since it's an internal tool. |
I'm wondering how aren't there more people talking about this problem on their apps. I mean, we're almost dropping dynamic frameworks because of this. I also opened a DTS with Apple to see if there's any official word on this. |
I think @alloy did some testing on eigen and the problem primarily affects debug builds. There's also a helpful command there to shorten the time. |
Yeah, I checked that, but I'm also seeing the issue on release builds. Also, if I understood correctly, that command will statically link all frameworks and (I think) Swift frameworks need to be dynamically linked. |
I've been seeing this recently in our app as well, doing some more investigating and lead me here. You are not alone :) |
I don't think we have either: Asked on the Apple Dev Forums, or done a DTS support ticket. Both would expand the surface area of people who might be in the know about ways around it. Other ideas, @neonacho pointed me at https://github.com/johnno1962/Accelerator last night |
Here is our DTS response:
However, our app still takes 8s to load (7.4s on "total images loading time"). I just responded to the DTS and I'm waiting for a response. On the meantime, I'll test https://github.com/johnno1962/Accelerator. |
@marcelofabri Yeah that’s basically the same as reported on the Eigen thread. In our case startup is a bit slower the first time you launch the app, thereafter it goes smoother. |
@marcelofabri Keep us posted of your communication please! ❤️ |
Here's what I was able to measure on our project about
|
Bother.. In the finish I only see the speedup on static linking using Accelerate in the debugger too. Well, at least this is one approach we can eliminate! |
@johnno1962 I love your try it and eliminate hands-on approach, thanks for your efforts and input! ❤️ |
This eventually came to a conclusion in 9.3 - see the eigen issue for full details |
I'm seeing large load times when using dynamic frameworks on my app and decided to check if this was an issue for you guys too.
I could reproduce the issue on an iPad 3 here and sometimes the app won't even launch due to the WatchDog. Am I missing something here? Do you really suffer from this issue too?
This seems to be the same issue as artsy/eigen#586.
The text was updated successfully, but these errors were encountered: