Announcing QB64 Phoenix Edition v0.8.0 Release!
#15
> Would changing the c++ compiler processes from 3 to higher speed up the compile time required ? I got CPU's to spare.

Yes, in fact I typically set it quite high, like 13 when compiling locally. The default of 3 is a very conservative number, honestly.

If you set it high enough presumably you'll find the number of processes being spawned is slowing down the compilation, but I think you would have to go very high to reach that point. Other than that, if you're already getting 100% CPU all the time then more processes won't really do much, they only help if you're not maxing out your CPU already.

Also, you will find high numbers are only so effective because right now most of the code is confined to just two files, and each file can only be compiled by a single process. So in practice setting a higher number of processes just ends up getting bound by how long it takes for those two processes to finish up compiling those files.
Reply


Messages In This Thread
RE: Announcing QB64 Phoenix Edition v0.8.0 Release! - by DSMan195276 - 06-16-2022, 02:13 AM



Users browsing this thread: 6 Guest(s)