I have some mid-large project that is actively using boost libraries and, hence, suffers in terms of Debug application performance (Visual Studio 2008).
Solution that I use right now means turning on function inlining even in Debug mode, which brings enough performance, but should definitely have some drawbacks.
Does anyone know what will I lose in terms of debugging capabilities if I force function inlining (/Ob2) switch?
Maybe someone have any other ideas about speeding up boost / other template libraries Debug performance?
In my opinion, you should probably not be performance-testing your debug release.
Save the debug release for unit testing so you can easily find problems but real testing (functionality and performance) should probably be on the release version.
That’s what your customers will be running after all, right?