Game Development Community

VS2005 vs VS2003

by Tolo Oliver · in Technical Issues · 10/27/2006 (12:30 am) · 2 replies

Hi,

I have compiled TGE 1.5 with VS2005 (Pro version) release mode and I'm getting worst performance than when I compile it with VS2003, about 6-8% (using metrics("fps")). I have been playing a bit with the optimization settings but I'm unable to get the same performance that I can get with VS7.

What I'm doing wrong? VS2005 generate slower code than VS2003 for Torque or I'm missing something?


Thanks

About the author

Recent Threads


#1
10/27/2006 (1:50 am)
The VS2003 projects have Whole Program Optimization turned on (Project->Torque Demo Properties...->General->Whole Program Optimization) while VS2005 does not. It appears the conversion wizard for VS2005 didn't set this option most likely because Whole Program Optimization has gotten more complicated since VS2003.

Try enabling it to Use Link Time Code Generation (which I believe is the equivalent to VS2003's) and see if it improves your performance. Be warned though that it will add an extra 5-10 mins to your compile.
#2
10/27/2006 (6:00 am)
Hi,

I have been playing a bit with the whole optimizations settings and using the new profile guided optimization and the performance now is better than with VS2003.


Thanks for your help