Dear José Will this fix break the code of people relying on the auto-connect mechanism?
If not, I see no problem with making a merge request on it, but I don't think Nokia will let you merge anything into the 4.5 repo. Please use the 4.6 repo, or the upcoming 4.7. Helge On 07/05/2010 10:18 AM, José Arcángel Salazar Delgado wrote: > Hello folks. > > After some hours of profiling a small qt jambi app, trying to discover why is > so slow at startup I found something interesting. When you create an app with > the Qt designer, the juic add a call to connectSlotsByName() at the end of > setupUi. This method is use for the autoconnect mechanism (when you use the > on_object_signal syntax). The problem is that this method use the reflection > API to make the connection, obtaining all the fields (and sub-fields). If you > have some complex Form, this can be a terrible penalty for the creation of the > Form. In my case, if I manually comment this method and I obtain an speed > improvement in the Forms creation. Using the profiler, I have this results: > > With connectSlotsByName() : 115 secs > Without connectSlotsByName() : 33 secs > > > If someone is intereting, I make some modification that improve the juic for > the 4.5 branch (eliminating the Date of creation, and the connectSlotsByName() > ) and I can share it. > > _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
