Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 605
Tiago Costa Avatar asked Jun 28 '26 02:06

Tiago Costa


1 Answers

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.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!