I believe that the mvc mini profiler stores all the response times in HttpRuntime cache.
Please let me know if I'm wrong but if that's the case then what is the max limit for this cache? How many operations can it profile before the cache is full? We are using the mini profiler for profiling operations of a test suite and the test suite will grow over time so I am concerned about this thing. Should I be concerned?On a related note. When all the tests have been profiled I simply call the
Save
method inSqlServerStorage
class of the mini profiler. And all the response times are saved to a SQL server database. Is there any way I could call theSave
method more frequently without starting and stopping the profiler again and again? We just start it at the start of the test suite and end it when all the tests have been profiled. We consider one entry to theMiniProfilers
table as one profiling session. Right now I am not able to call the 'Save' method more than once because it needs a newMiniProfilerId
everytime it is called.
Any suggestions?