views:

40

answers:

1

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 seconds. Is there anyway I can figure out what optimizations were done in the retail build?

+2  A: 

There's an option on the Project properties, Build tab: "Optimize code". Try checking that then rebuilding the solution!

Hope that helps!

Kieren Johnstone
I checked and I actually do have this enabled.
jdelator