Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Hans Henrik on December 08, 2008, 10:51:52 am

Title: [feature request] compiler priority
Post by: Hans Henrik on December 08, 2008, 10:51:52 am
well just thought it would be nice to run your compiling in "very high priority class" or "realtime priority class" sometimes so..
in: global compiler settings >>other settings >>"compiler-independent option"
could add option to run compiler threads in, below normal/normal/above normal/high/realtime priority class? :)
(this page may be of some help btw (http://msdn.microsoft.com/en-us/library/ms685100.aspx))
Title: Re: [feature request] compiler priority
Post by: jale on December 27, 2008, 01:23:10 pm
Why do you think real time priority or high priority on compile process is nice?

In my opinion it's interesting reducing compiler priority
Title: Re: [feature request] compiler priority
Post by: MortenMacFly on December 27, 2008, 01:50:15 pm
run your compiling in "very high priority class" or "realtime priority class"
I don't think so. This makes no sense to me. If you really need it, higher the priority of C::B itself to such and all childs will derive the same priority automatically. But honestly: You won't save any time by doing that. I would even expect a slower compile time probably...
Title: Re: [feature request] compiler priority
Post by: thomas on December 28, 2008, 02:55:15 pm
Giving the compiler a higher priority is a really, really stupid idea. It will not make the compilation as much as a second faster, but it will severely hurt your system's responsiveness. Don't do that.

Giving the compiler a lower priority may make sense if you have a low-end computer and still want to be able to surf the internet (or do other things) while a lengthy compile is running. However, you probably don't need that unless your computer is 6-7 years old. Multicore CPUs work quite well in that situation without any priority tweaking, even the cheap ones.
Title: Re: [feature request] compiler priority
Post by: Hans Henrik on January 03, 2009, 12:37:52 pm
@*
ah didn't know, oki nvm

@jale
thought it'd maybe increase speed of compiling, ofc