Author Topic: [feature request] compiler priority  (Read 4339 times)

Offline Hans Henrik

  • Multiple posting newcomer
  • *
  • Posts: 23
[feature request] compiler priority
« 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)
« Last Edit: December 08, 2008, 11:50:40 am by Hans Henrik »

Offline jale

  • Single posting newcomer
  • *
  • Posts: 3
Re: [feature request] compiler priority
« Reply #1 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: [feature request] compiler priority
« Reply #2 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...
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

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: [feature request] compiler priority
« Reply #3 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Hans Henrik

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: [feature request] compiler priority
« Reply #4 on: January 03, 2009, 12:37:52 pm »
@*
ah didn't know, oki nvm

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