I have a table with + - 900mil records. I make some queries using where
clauses and I want to see the time difference between them.
How do I display the time in label
at the end of the query?
I have a table with + - 900mil records. I make some queries using where
clauses and I want to see the time difference between them.
How do I display the time in label
at the end of the query?
using StackExchange.Profiling;
var profiler = MiniProfiler.Current;
using (profiler.Step("Minha query"))
{
var alguma coisa = /* Coloque sua consulta LINQ aqui */
}
MiniProfiler works with several templates . Just choose what is part of your application and use.