User forums > Help

"Slow" Build and Runs

(1/3) > >>

steptaker:
Hey guys,
I recently installed CodeBlocks 10.05 and I've been following some tutorials and I've noticed that my build and run times are quite slow compared to theirs (around 7-8 seconds) and sometimes it goes to "Not responding" and will sometimes cause me to force quit. I've tried reinstalling it and what not, does anyone have a idea or fix how I can make them faster?

[OS] - Windows 7 Ultimate
[CPU] - i7-3770k at 3.6 ghz
[RAM] - 16gb DDR3 1866 mhz
[SSD] - OCZ Vertex 4 - Read 560 mb/s, Write 430/mbs

I'm using a fresh install of Windows 7, it's been up for the past 3 days. Considering the date of the videos and the build I'm using I'd assume that my compile times would be a bit faster. I run CodeBlocks with only my Anti-Virus present (I have tried disabling it and the build times are still slow).

Thanks in advance,
Step

oBFusCATed:
What is the setting of  Settings -> Compiler -> your compiler -> Build options -> Number of processors?

For your CPU it should be 8-12. This option will help you if you have many files. If you have 1 file it doesn't matter.

p.s. you've not mentioned what compiler you're using, so this might be the cause.
p.p.s. gcc on windows is slower than the linux version, 2x and more times slower...

steptaker:
I'm using GNU GCC Compiler and at the moment I only work on one file at a time (basic ones too, 2-3 variables and classes at a time). I turned up the number of processors and I get 4 second builds. Is that normal for using Windows?

oBFusCATed:
GCC version? I'm not a prophet...

stahta01:
I suggest turning on Full Compiler Logging and get the commands being passed to the Compiler.

Try the commands to see how long they take to build the file.

I also suggest just doing build; followed by run to see which is the worst problem.

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version