User custom performance metrics (displayed with performance metrics)
My prime use case would be counting and measuring SQL queries (would make easier to monitor impact of changes by other developpers).
Hovering the green/red marker next to a line would display the count and total time for each custom metric.
This could be implemented with a simple attribute like NCrunch.MetricAttribute("SQL") that would be added on functions and/or with a IDisposable scope (using(NCrunch.Metric("SQL")).
They would be noop when not compiled by NCrunch.
1
vote
Guillaume Lecomte
shared this idea