[Pyobjc-dev] lazyimport.py introduced in pyobjc 2.4
Brought to you by:
ronaldoussoren
From: Marc V. O. <ma...@ac...> - 2013-06-11 11:41:37
|
hi, Just upgraded an old pyobjc app from 2.2 to 2.5.1 and noticed that launching the app was very slow. After using cProfile and analyzing in runsnake. I notice that lazyimport.py takes 18 seconds on the app. On launch the app loads a lot of views. from Cocoa import * I replaced them quickly just for test in the app. because this was every but this didn't help my app loading performance. I was looking at this: http://pythonhosted.org/pyobjc/metadata/compiled.html And i'm wondering what is the best way to upgrade my app to take advantage of the new compiled metadata system. thanks marc |