5 ms·
Even better, use different optimization levels per file and benchmark them. If you have N files, then that's only 3^N builds to test out each possible combinat
by desdiv 12y ago
Even better, use different optimization levels per file and benchmark them.
If you have N files, then that's only 3^N builds to test out each possible combination of O, O2, and O3. That shouldn't take too long. /s
- vinkelhake 12y agoWhy stop settle for just -O levels? You could fiddle with all flags that might affect performance. You could even write a program that automates this and employs generic algorithms to reach good results quicker... http://stderr.org/doc/acovea/html/acoveaga.html http://stderr.org/doc/acovea/html/acoveaga.html