MPLABX has this function "Compiler Advisor" its purpose is to show how efficiently the program code will be created by the compiler, in different modes of its optimization.
I decided to analyze the operation of this function, well, such an analysis is done when there is really nothing to do, and now I really have nothing to do, I am looking for an interesting new job.
I changed the optimization mode, performed compilation and for the current mode I ran "Compiler advisor".
Here's what I got.
By the size of the data in memory, it lies stably in all modes. But with the size of the program, somewhere it matches, somewhere it doesn’t, but it always writes that if you buy the PRO version, it will be even cooler.
Has anyone else tested this way? I want to know this – "Compiler Advisor" specifically lies or does it show correctly?
no optimizationO3 optimizationO2 optimizationO1 optimizationOs optimizationIn principle, all the results suit me, but what if it could be better!?