tuanvinh1008
4 years agoContributor
Do USEUNIT impact to performance when running script?
Dear all,
I'm not sure if Im using the USEUNIT to call other functions from other scripts when I need it or add all them into one script and only import it for other scripts
Ex:
The 1st way
Script A
Script B
Script C
Script D
//USEUNIT A
//USEUNIT B
//USEUNIT C
The 2st way
Script common
//USEUNIT A
//USEUNIT B
//USEUNIT C
//USEUNIT E
Script A
//USEUNIT common
Script B
//USEUNIT common
Script C
//USEUNIT common
Script E
//USEUNIT common
so when the TestComplete is running, does it load all code of script in common in memory or not? is the 2nd way impact to performance if there are a huge scripts in a test suites?
Thanks,
Vinh