Improving Web Script Performance Profiling Speed



Classic ASP/client side scripting runs slowly while Performance profiling


By default, Performance Analysis profiles as many modules and functions as possible used by an application. This includes modules loaded dynamically via calls to LoadLibrary() and all exported functions from uninstrumented dlls. This information can be invaluable in many circumstances, but may be unnecessary in web script applications where inetinfo.exe/iexplore.exe is the actual process being profiled and you would like to concentrate on the performance of your scripts.

In such circumstances, you can exclude the profiling of dynamically loaded modules by setting the following reg key:

HKEY_LOCAL_MACHINE\SOFTWARE\Compuware\DevPartner\TxCommon\7.2\AnalysisCommon\HookDynamic = 0

Hooking of all exported functions can be stopped by setting the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Compuware\DevPartner\TxCommon\7.2\AnalysisCommon\PatchAllAPIs = 0

Old KB# 11824
Comment List
Related Discussions