I am trying to improve the load time of Padre.

The problem I saw is that if there are many files to be opened during
initialization it takes a long time.
For example opening with 7 documents takes about 2 secs.

I ran Devel::NYTprof on it and the firts 4 lines of the result was this:

Calls, P, F, Exclusive Time, Inclusive Time, Subroutine

7       1       2       0.90098 0.90121 Wx::AuiNotebook::       AddPage (xsub)
7       1       2       0.51547 0.51547 Wx::StyledTextCtrl::    new (xsub)
3       1       1       0.14394 0.15797 Padre::PluginManager::  _load_plugin
7       1       1       0.08671 0.12430 Class::Autouse::        _load

So the main time consuming part are the first two functions which
account for 1.4 secs, most of the ellapsed time.
Any idea how to speed it up?

Gabor

Reply via email to