Tiago Costa
Tiago Costa

Reputation: 4251

Program slow down when running on Visual Studio

When I run my program inside Visual Studio 2012 it takes about 20 seconds to finish.

But when I run it outside VS2012 (directly clicking the executable) it only takes 3 seconds to complete.

Both builds are in release mode, so I don't understand why VS2012 is causing such slowdown...

Is this usual? or is there something wrong going on?

Also when I run it in VS2012 performance analysis it only takes 3 seconds.

Any ideas?

Thanks

Upvotes: 3

Views: 837

Answers (1)

user2033018
user2033018

Reputation:

You can run a project under VS by either hitting ctrl+F5 or just F5. The difference between the two is that the last attaches the debugger, so it'll run slower. Use ctrl+F5 and you're done.

Upvotes: 2

Related Questions