Search code examples
asp.netasp.net-mvc-4performance-testingglimpse

Save Glimpse data as report


I am looking to capture web application performance (total time taken) to visualize a code change impact. I am not looking at scientific precision method as of now (we may employ an automated tool at later stage) just a quick comparison will do.

My web application is ASP.NET MVC4 application. I am using Glimpse 1.8.2 and can see the request timing in Glimpse on browser. For a quick comparison, my plan is to capture timings first for few known request (i.e. SearchController.AddNewSearch()), deploy the change and then again monitor the time for comparison.

I was wondering if there is an option I can export the data Glimpse capture into xls or csv format.

Any suggestion?


Solution

  • A similar question has been answered in the Glimpse discussion group here.

    There are a couple of options as mentioned in the thread above, the simplest solution provided there is to call window.glimpse.data.currentData(); in the JavaScript console to get the data used for the current requested page and then stringify it and write it to a file.