Thread: Speed differences whilst inside the IDE

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    85

    Speed differences whilst inside the IDE

    How much difference in execution speed am i likely to see between debugging in the IDE and running as a standalone program.

    Is this likely to be significant or slight ?

    is there anyway to test execution speed of a method within the IDE ?

  2. #2
    Registered User
    Join Date
    Aug 2008
    Posts
    188
    it's pretty significant. you can test execution speed with a simple comparison of DateTime objects.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    85
    thanks Bling.

    i am seeing significant delay between my mouseclick and the update on the picturebox if i go a little wild and try to click randomly around the place. is this possibly the IDE slowdown or should i start looking at my code alittle more ?

    everything gets to the screen eventually but it is like it is queue'd and has a noticable delay there.

  4. #4
    Registered User
    Join Date
    Aug 2008
    Posts
    188
    well, easiest way to find out is to try running without the debugger.

    also, remember that windows only has 1 thread to draw all elements on the screen, so yes there is a queue of things it needs to process.

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    85
    slight improvement outside the IDE but nothing amazing - ill look at some optimisations in my code see if it helps :S

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. variables when declared inside or outside a function
    By jas_atwal in forum C Programming
    Replies: 6
    Last Post: 12-14-2007, 02:42 PM
  2. Still battling with Copy Control
    By Mario F. in forum C++ Programming
    Replies: 9
    Last Post: 06-23-2006, 08:04 AM
  3. Flight Simulator Wind Speed!!
    By Dilmerv in forum C++ Programming
    Replies: 6
    Last Post: 03-20-2006, 12:40 AM
  4. Replies: 6
    Last Post: 01-08-2006, 02:49 PM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM