Closed sirilvk closed 6 years ago
Generating debug symbols should have no effect on performance (-DNDEBUG disables assertions, which does have an impact); compiler optimizations should be unaffected.
What is the typo?
Thought it would have been a mistake since it was in all the build configs. Also surprisingly after removing -g on Ubuntu server 17.10 x64 build I got a slightly faster execution time for my application. However closing this issue.
Please remove the -g flag in the GNUMakefile for non debug builds. Could see a performance improvement without that. (also looks like a typo in section LINUX_GCC_x86_64_COMPILE ).