News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Very slow when opening large project

Started by hesicong, August 20, 2008, 03:11:24 PM

Previous topic - Next topic

hesicong

Hi, all
I'm now using CB stable 8.04 version on Ubuntu 8.04. It's very slow to open VTK (Visual Tool Kit http://www.vtk.org) codeblocks project file, the IDE keep unresponds for at lease 1 minute. The project has 70MB header and source code. As a comparation, Visual Studio 2005 use less than 10 seconds to open the project.
I have searched the forum and close the Code Complete plugin, but it remains the same. Is any way to prove the IDE performance?

dmoore

hesicong: is CB opening files in the editor during that time?
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

hesicong

#2
Quote from: dmoore on August 20, 2008, 03:15:16 PM
hesicong: is CB opening files in the editor during that time?
No, it just loading the project file. CodeBlocks generate a 1.5MB project file. I thinks it may be too large~
The project has VTK_WRAP_TCL and VTK_WRAP_PYTHON and examples, so it's so large.
I tried to regenerate a project file without VTK_WRAP_TCL and VTK_WRAP_PYTHON, the project file became 441.4KB which use just 2 seconds to open.
So, I'm confusing by how large can the project file could CodeBlocks handle? 1.5MB too large??