nyczmagix
14 years agoOccasional Contributor
Performance: Assembly (CLR Bridge) vs Scripts
In TestComplete, is it better to write commonly used functions/classes in the preferred scripting language (e.g. VBScript), or write them in an assembly and use them via CLR Bridge?
My thought is the speed of the script interpretation cannot match the execution of compiled code. However, since there's probably overhead for using the CLR Bridge, in the end ...which one is the winner in terms of performance ...TestComplete interpreting scripts or TestComplete calling compiled code via CLR Bridge? Assume a situation where the calls to these classes/functions are frequently made.
My thought is the speed of the script interpretation cannot match the execution of compiled code. However, since there's probably overhead for using the CLR Bridge, in the end ...which one is the winner in terms of performance ...TestComplete interpreting scripts or TestComplete calling compiled code via CLR Bridge? Assume a situation where the calls to these classes/functions are frequently made.