Author Topic: Very slow when opening large project  (Read 3067 times)

hesicong

  • Guest
Very slow when opening large project
« on: August 20, 2008, 03:11:24 pm »
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?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Very slow when opening large project
« Reply #1 on: August 20, 2008, 03:15:16 pm »
hesicong: is CB opening files in the editor during that time?

hesicong

  • Guest
Re: Very slow when opening large project
« Reply #2 on: August 20, 2008, 03:23:45 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??
« Last Edit: August 20, 2008, 03:31:42 pm by hesicong »