Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
How could I speed up the codebload13.12 lanching
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How could I speed up the codebload13.12 lanching (Read 3606 times)
tonystz
Single posting newcomer
Posts: 5
How could I speed up the codebload13.12 lanching
«
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.
Logged
ollydbg
Developer
Lives here!
Posts: 6077
OpenCV and Robotics
Re: How could I speed up the codebload13.12 lanching
«
Reply #1 on:
January 24, 2014, 03:18:53 pm »
See
Why CB starts so slowly?
Logged
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.
tonystz
Single posting newcomer
Posts: 5
Re: How could I speed up the codebload13.12 lanching
«
Reply #2 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.
Logged
dmoore
Developer
Lives here!
Posts: 1576
Re: How could I speed up the codebload13.12 lanching
«
Reply #3 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.
«
Last Edit: January 24, 2014, 04:06:16 pm by dmoore
»
Logged
Python plugins:
https://github.com/spillz/codeblocks-python
Code::Blocks Daily Builds -- Ubuntu PPA:
https://launchpad.net/~damien-moore/+archive/codeblocks
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
How could I speed up the codebload13.12 lanching