Forum Discussion

rjking's avatar
rjking
New Contributor
13 years ago

TestExecute Speed on XP versus W2K

We have a Delphi application against which we run nearly 1000 tests.  We have been running the tests on a W2K VM as all tests take over an hour to run.  Now that TestExecute 8.5 is not supported on W2K (8.2 is what we were running) we have started to run our tests on XP.  



The speed decrease is massive however!  The exact same set of tests on the exact same executables (the application is a suite of 5 exes) takes nearly 4 hours to run.  We have turned off all Windows animations/etc under XP and set Classic mode on.



Is there anything else we can do to speed up our tests under XP?



Will our tests run quicker under Windows 7?



Thank you, Richard King


2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    One of the things I discovered in using TestComplete/TestExecute, even in earlier versions, with Windows XP has to do with multi-core boxes.  The automation has a tendency to split across the processor cores and, while you might think this will make things work faster, it actually has the opposite effect.  What we did was we wrote some code to set the processor affinity for the TestExecute process at startup to put all of TestExecute on a single processor core.  
  • rjking's avatar
    rjking
    New Contributor
    Changing the VM from 4 processors to 1 almost doubles the speed!  (Down from 3h45 to 2h01).



    Thanks very much for this tip. Richard