views:

23

answers:

1

Hi,

When I've built a project in release mode in VS2008. The execution time of running the project from the IDE(project > debug > start new instance) is much faster than running the exe(In my case, 80 seconds and 200 seconds). What could be the reason for this? Can I speeden up the direct execution somehow?

p.s. I had asked this here but dint get a reply.

A: 

as far as i know there is no such thing as "speed up the execution"
but there are lots of factors that help in starting the application
such as memory utilization, CPU usage, ... etc
so what are you asking about might be that visual c starts new processes using direct system calls
instead of explorer ones, not as much performance change .. but can be really seen using a memory leak detector, .. not to check on memory .. but to start an application 1000 times in explorer and 1000 times in command line or memory leak detector
only then you'll notice the difference

PS: the application still passes the antivirus/antispyware tests before it runs, but some older detection methods fail to monitor the system calls for execution, or they tend to ignore the calls by system

PPS: try to check on optimization if you really care about speed, try out the O3 and remove all symbols

VirusEcks