UC GEE
DIIDevHeads IoT Integration Server
•Created by UC GEE on 5/30/2024 in #middleware-and-os
What optimization levels maybe -O1 or -O2 are typically used for balancing performance and code size
In my energy system project using embedded Linux, I'm curious about the trade-offs between code size and performance using compiler optimizations. I noticed the
-O3
flag significantly reduces code size.
Is it a common practice to use compiler optimizations like -O3
in embedded Linux development, especially for energy systems?
What optimization levels maybe -O1
or -O2
are typically used for balancing performance and code size?
Please Great house,help me out 🙏🙏6 replies