Author Topic: slowness: project management  (Read 4432 times)

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
slowness: project management
« on: April 10, 2008, 07:52:40 pm »
Code::Blocks svn 4893
Windows 2k

My workspaces generally consist of more than a single project: example, source files for application plus one or more shared libraries also as projects.  ALL files are in reach of our local filesystem (windows file sharing to linux box on lan and serving via Samba).

1. When loading workspace it often takes 20-30 seconds for Code::blocks to become operational.  I can't tell what's happening in the background, but it's terribly slow.
2. I had occasion to remove a file from a project.  The file was contained at the end of about 6 sub-directories.   It took almost 60 seconds to remove this file from the project (when complete, all the 6 subdirectories were also removed which of course makes sense).
3. Similarly, adding a file/s takes a long time.

I tried these operations with local files (hard disk) and the same issue occurs, so it's not Samba, I think.  Plus, other operations on server files are quite quick.

Anything we can do to speed things up?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: slowness: project management
« Reply #1 on: April 10, 2008, 08:32:15 pm »
(windows file sharing to linux box on lan and serving via Samba).
I had such, too. This caused C::B to crash occasionally and made the whole work damn slow. Some admin guy told me that this might just be a samba configuration error - hence I don't know. Probably you are best off if you really copy the files to a local hard drive of your workstation PC. That's what I did and now all things are just fine.

Note: In my case it was *not* a C::B issue... well... erm... except the crashes. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ