There are a lot of questions that are similar\duplicates on SO but, all of them are incomplete or invalid:
- Performance differences between debug and release builds - incomplete, and the post is outdated. (4 years since last edit.)
- Debug vs. Release performance - saying
Edit: Full list of optimizations here courtesy of Eric Lippert
but, just two optimizations specified in the link. - ...
I am concerned more about hard optimizations. I programmed 1,000 lines of code, in release mode performance improved by 15%. I rewrote it in C++, and in release mode it had better performance by 17 times or 1700%. (Even the debug mode of C++ had better performance by 2 times versus C#'s release mode)
Is there a full list, kept up to date by Microsoft or another authoritative source, listing all the the optimizations performed by the compiler or JIT in release mode?