I have noticed that compilation can be quite long on Windows !
I use enable peephole optimizations up to 16 passes and enable listing and enable additional info.
Does this options increase the compilation time ?
Does the compilation on windows use several CPU cores ?
speed up compilation
-
- Site Admin
- Posts: 171
- Joined: Fri Oct 06, 2023 8:25 pm
Re: speed up compilation
Hi ldir_hector!
Surely, the option for additional information slows down the compilation a lot. It actually depends on the size of the generated assembly file. Without going into too much detail, let's say that the real problem is the comparison between the assembly (understood as a pure source) and the listing (understood as a product of the assembler). Since the compiler must calculate the contribution of each line of code to the space occipied, it actually performs a line-by-line comparison for these two files. Time therefore tends to increase a lot.ldir_hector wrote: ↑Thu Nov 23, 2023 10:34 pm I use enable peephole optimizations up to 16 passes and enable listing and enable additional info.
Does this options increase the compilation time ?
No, because the file to be compiled is unique.ldir_hector wrote: ↑Thu Nov 23, 2023 10:34 pm Does the compilation on windows use several CPU cores ?