msaunders
9 years agoContributor
Python speed
I have found python to be extremely slow in test complete. I have created some timing tests iterating over arrays and doing actions with the array data.
I also wrote the exact same code and ran it in normal python command shell.
In test complete I am getting timing in the range of a few hundred ms all the way up to full second.
In command shell I am in the 1 ms range.
Are there any known issues with python and test complete? I am doing 0 interactions with my software's ui for this timing test as I wanted to rule out response time from my ui.
This all came about because tests just seem very show overall so going back to basics. I am using latest build of test complete.
I can share code snippets tomorrow when I am back in the office if that is necessary.
Thanks in advance for any feedback.
I also wrote the exact same code and ran it in normal python command shell.
In test complete I am getting timing in the range of a few hundred ms all the way up to full second.
In command shell I am in the 1 ms range.
Are there any known issues with python and test complete? I am doing 0 interactions with my software's ui for this timing test as I wanted to rule out response time from my ui.
This all came about because tests just seem very show overall so going back to basics. I am using latest build of test complete.
I can share code snippets tomorrow when I am back in the office if that is necessary.
Thanks in advance for any feedback.
Support said this is just speed within the api and can't say much more. They said it has gotten faster over time so maybe will get better in the future but for now there is not much one can do to speed it up.
We are going to move highs speed routines out of test complete for now as it seems like the better plan.