Rethinking optimization for size
Rethinking optimization for size
Posted Feb 7, 2013 8:58 UTC (Thu) by massimiliano (subscriber, #3048)Parent article: Rethinking optimization for size
What would be nice to have would be profile-driven optimizations.
You compile your kernel, profile it during a "normal workload" (the definition of which is really tricky), and then, maybe, optimize functions differently.
For instance, for very hot ones you could afford loop unrolling, and for colder ones you'd keep size as small as possible.
My 2c,
_ Massi
Posted Feb 11, 2013 23:59 UTC (Mon)
by nix (subscriber, #2304)
[Link]
Rethinking optimization for size