Question

I have generated one binary(20 MB) with gcc with -g option after that have compiled same code with gcc without -g option and generated binary of 8 MB,So my question is is there any effect in cpu usage if I run both(20MB,8MB) binaries?

Was it helpful?

Solution

Yes the debug version runs slower. It is problematic tracing race conditions

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top