Skip to content

Change SMO performance tracking from a compile time setting to a runtime setting #206

@shueybubbles

Description

@shueybubbles

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions