Get the optimizations from retail build into debug build
I have a function when unit tested takes around 15 minutes to finish in debug mode. When I run the same tests in retail mode, it takes around 30 second开发者_开发技巧s. Is there anyway I can figure out what optimizations were done in the retail build?
There's an option on the Project properties, Build tab: "Optimize code". Try checking that then rebuilding the solution!
Hope that helps!
精彩评论