Forum Discussion
Without knowing more about what you're doing in your function, I can't say what's causing it. I was just commenting to my co-workers here that the code actually seems to be executing faster in the 64 bit version I'm running now.
Would you be able to share the actual code being executed?
- baxatob7 years agoCommunity Hero
Hi guys,
What I can confirm at the moment, that I have received a lot of "Searching for a mapped object took too much time" warnings with the new version (12.4). At the first glance the actual run-time increased about 10% (in compare with 12.31). It is not an exact value, just a first opinion.
Sorry for offtopic.
- tristaanogre7 years agoEsteemed Contributor
One thing I did to increase the search time is to turn of the option to "search for visible objects first" and then make sure I code based upon whether or not an object is visible. I found that the visible object first search in the NameMapping engine was adding a LOT of time to our test execution.
- shankar_r7 years agoCommunity Hero
I have created a support ticket due to below reasons.
Steps:
1. Run Project Suite > 07.53 PM
2. Printed first Log Message > 08.10 PM [This is Log.Message() placed first line of my function]
Basically, it took 17 mins to initiate the execution.I haven't have this much delay in my previous version [12.3*] for the same project suite.
Also, I know what is happening in the 17 mins. It is going to each and every very unit under the project being executing and grabbing the global variables. i have seen by using pausing the scripts in-between.
Unfortunately, It is large project suite and confidential i can't share here.
- tristaanogre7 years agoEsteemed Contributor
Is this something you can reproduce in a bit of code that is not confidential? If so, could you post that?
- shankar_r7 years agoCommunity Hero
Yes i tried to do that, now i'm getting crash :smileyfrustrated: as like https://community.smartbear.com/t5/TestComplete-Desktop-Testing/TestComplete-version-12-40-crashes-when-loading-JavaScript/m-p/151258#M10650 when i type //USEUNIT and type a space.