News:

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

Main Menu

[feature request] compiler priority

Started by Hans Henrik, December 08, 2008, 10:51:52 AM

Previous topic - Next topic

Hans Henrik

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)

jale

Why do you think real time priority or high priority on compile process is nice?

In my opinion it's interesting reducing compiler priority

MortenMacFly

Quote from: Hans Henrik on December 08, 2008, 10:51:52 AM
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...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

thomas

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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Hans Henrik

@*
ah didn't know, oki nvm

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