Game Development Community

Low fps after compiling TGE1.5.2 (fresh engine)

by Roshan Kuriyan · in Torque Game Engine · 10/15/2008 (1:12 am) · 2 replies

Hi,


Low fps:
We have installed TGE1.5.2 and we tested for fps in barbones.mis (mission) and we noticed that it was around 51.5(before compilation)
[before compiling.JPG]http://carbonon.com/down/before compiling.JPG[/before compiling.JPG]

But after compiling using Visual Studio 2005 we found the fps decreased to 32.6 fps(after Compiling)

[After compiling.JPG]http://carbonon.com/down/After compiling.JPG[/After compiling.JPG]
Can any one guide us how to retain the same fps even after compilation?

Increased File Size:

Before compiling the exe(torqueDemo.exe) was around 1.15MB and after compilation (torqueDemo_DEBUG.exe) it was 7.47 MB.
Can any one explain the reason why this happens?

Thanks,
Roshan.

#1
10/15/2008 (1:18 am)
Try a release build.

You will get a larger executable file, and lower frame rate with debug build.

Gabriel
#2
10/15/2008 (1:24 am)
You newly compiled exe is a DEBUG executable, that is the explanation. Debug builds are always larger in filesize and run slower because they contain debugging information and tools. There are several options for the type of builds available: DEBUG, DEBUG_FASTRELIGHT, and RELEASE. There are also other optimizations options available that will further impact file size and performance.