You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SMO has several chunks of code tracking things like time to execute queries and the total number of queries run blocked off by #if INCLUDE_PERF_COUNT.
We could replace that ifdef with a factory of some sort that only measures and collects the data when an application initializes it or if an environment variable is set. It could log it using actual performance counters on Windows.