Re:The computers are fast, but you don't know it
by spc476 on Thursday June 16, 2022 @05:31PM
(#31771228)
TCC is a fast compiler. So fast, that at one time, one could use it to boot Linux from source code! But there's a downside: the code is produces is slow. There's no optimization done. None. So the trade off seems to be: compile fast but slow program, or compile slow but fast program.
[ Parent
| on HN ]
Re:The computers are fast, but you don't know it
by scarmig on Thursday June 16, 2022 @05:56PM
(#31771487)
The trade-off is more of a gradient: e.g. PGO allows an instrumented binary to collect runtime statistics and then use those to optimize hot paths for future build cycles.
Re:The computers are fast, but you don't know it
by tester756 on Thursday June 16, 2022 @06:14PM
(#31771675)
is this actually this binary?
I mean what if there are features that take significant % of whole time
What if getting rid of them could decrease perf by e.g 4%, but also decrease comp. time by 30%
would it be worth?