slecault
7 years agoContributor
TestComplete 12.40 Script Editor - Too slow to be used depending on size of script file
We upgrade some of our work station and VMs this week. Execution of scripts is ok so far. Script editing is not usable due to performance issue. Did some testing to drill down a bit the issue, and here are some facts:
- Problem only with 1 script file (.sd)
- It is a biggest one in bytes (541 000 bytes)
- Editing this unit is painfully slow, cursor lags after mouse scroll, mouse clicks, keyboard arrows, drop down to see list of procedures.
- The unit contains 11807 lines (including comments)
- The unit contains 431 routines
- Putting the whole file in comment brings back the speed.
Seems to me like it would be related to some sort of dynamic indexing for variables and routines (the less there is, the speedier it is.
It is not thinkable at this time to split the source.
We would very much like a fix for this.
Our scripts are in Delphi Script.