views:

32

answers:

2

I'd like to detemine the amount of time it takes for my ASP.Net program to generate certain sql queries using linq.... note - I want the query generation time, not the query execution time. Is this possible, or even feasable (if its usually fast)?

My website has some heavy traffic and I want to cover all of my bases.

+1  A: 

Redgate ANTS Performance Profiler is probably your best bet.

Aren
+1  A: 

Stopwatch + CompiledQuery.Compile ?

Orsol