Optimize Stage Number

Dear @uboot,

Please look at my recent post. It explains how to obtain the same information (although in less graphical form) directly from the compiler.

I even wonder if it would be possible to ask an AI to recreate p4insight, since all the info is there :slight_smile: (or can be recomputed)

Happy hacking,
Vladimir