Compare Profiler Results
ianormy
Posts: 3
Is it possible to compare 2 profile results together? I know the profiling tools that come with the more expensive versions of Visual Studio allow you to compare 2 profile results. This is really handy to see if a speed improvement you have done really does improve the performance.
Ian
Ian
Comments
You can export the All Methods grid for each run and and compare the results that way. We will be improving the exporting in the next version but for now if you:
- Select a row in the methods grid
- Ctrl + A
- Ctrl + C
Then paste into the Excel file. You can compare various methods from this grid. Alternating between CPU time and Wall-Clock time can also help.
There is one other possibility by implementing our UserEvents.dll
You can place this in your code to mark/annotate events on the timeline giving you start and end times that you can compare.
http://www.red-gate.com/supportcenter/C ... wledgebase\ANTS_Profiler\KB200811000319.htm
Perhaps you could tell me what would be most useful for you?
Stephen
The main use for it is that its saves a lot of time to be able to just load up 2 files and have up and down arrows showing improvements. The more of your own time you have to spend to do the comparison, the less profitable it becomes. I realise that the comparison may be difficult to implement, but even something that gives a rough idea really helps.
Ah well! Thanks again,
Ian
I'd be really interested to know - what sort of time comparison granularity are you talking about?
Going from 10mins to 2mins for example is a pretty obvious change. Shaving off a couple of seconds though probably isn't generally particularly useful to know.
You can open a second instance of ANTS and load the other file in and check the timelines for both although again i have to hold up my hands and admit it's not how we would implement it if we ever decided to.
Stephen
You may also be interested in the Performance Profiler results comparison tool.
ftp://support.red-gate.com/patches/ants ... ompare.zip
If you copy the all methods grid from each profiling session to the clipboard, it will create XML files with the contents of the grid and show the deltas between the same method in each session. You could, for instance, sort on the method with the greatest time improvement, etc.