For an extensive analysis on how to obtain the optimum compiler settings that could deliver a polkadot binary with the best benchmark results.
The analysis is very well written, describing all steps until the winning optimization settings is presented.