#27011-D Optimization Assistant completed and best results were obtained with speed vs size setting 4 (--opt_for_speed=4).
The Optimizer Assistant feature completed building the project for all settings of --opt_for_speed.
The option --opt_for_speed controls the tradeoff between size and speed (0-5 range). Setting --opt_for_speed=0 enables optimizations geared towards improving code size with a high risk of worsening or impacting performance. At the other extreme, setting --opt_for_speed=5 eanbles optimizations geared towards improving the code performance/speed with a high risk of worsening or impacting code size. Settings between 0 and 5 vary the emphasis on performance versus code size.
The Optimizer Assistant feature will build your project for all settings of --opt_for_speed. When complete, if there is an optimial setting then advice emitted recommending to change --opt_for_speed.
Final results will show a bar chart of code size for each --opt_for_speed setting. Any builds that failed link will show in red. In below results window, the green check mark represents current setting for --opt_for_speed, and the green bar is recommended setting.
Hovering the cursor over a bar will present options to update project settings or to debug the program.
Additional performance improvements may be possible when using higher settings for --opt_for_speed.
The Optimizer Assistant feature will emit advice recommending the best --opt_for_speed setting to use.