Code::Blocks Forums

User forums => Help => Topic started by: tonystz on January 24, 2014, 02:58:45 pm

Title: How could I speed up the codebload13.12 lanching
Post by: tonystz on January 24, 2014, 02:58:45 pm
I feel the 13.12 build startup is too slow. Could someone help me? Thanks in advance.
Title: Re: How could I speed up the codebload13.12 lanching
Post by: ollydbg on January 24, 2014, 03:18:53 pm
See Why CB starts so slowly? (http://forums.codeblocks.org/index.php/topic,18842.msg129108.html#msg129108)
Title: Re: How could I speed up the codebload13.12 lanching
Post by: tonystz on January 24, 2014, 03:21:40 pm
I do not know why. I have alreay disable some plugins. But It's same too slow.
Title: Re: How could I speed up the codebload13.12 lanching
Post by: dmoore on January 24, 2014, 03:49:36 pm
Just disabling plugins isn't usually enough because the plugins still get loaded at runtime (they just aren't "attached"). You need to move the plugins SOs/DLLs so C::B won't find them.

I have a patch that stops SOs/DLLs from being loaded if the plugin is disabled here: http://forums.codeblocks.org/index.php/topic,18552.msg126967.html#msg126967

with comparison of start time with all plugins enabled vs disabled here:
http://forums.codeblocks.org/index.php/topic,18552.msg126987.html#msg126987

There are some other optimizations we could do that would defer initialization of some objects until they're actually used, but the tradeoff is making the GUI less responsive when you first use those things.

Otherwise, there's just no getting around the fact that the codebase is pretty big and heavy as is the wxWidgets library.