Activity overview
Latest activity by Scott Ure
Hi Stephen,
No, it is 2.0. I am currently corresponding with Bart via e-mail, so you may want to talk to him for the latest information.
Scott. / comments
Hi Stephen,
No, it is 2.0. I am currently corresponding with Bart via e-mail, so you may want to talk to him for the latest information.
Scott.
Hi Bart,
Unchecking profile child processes with all methods without source made no difference (the software I am profiling is single process, single thread). I will send you the file you requested.
Scott. / comments
Hi Bart,
Unchecking profile child processes with all methods without source made no difference (the software I am profiling is single process, single thread). I will send you the file you requested...
Hi,
My Visual Studio is plain vanilla except for ANTS 3 and ANTS 4. I did have DevPartner installed a while back, but I uninstalled it, so it better no be having an impact (I only used its profiler). I have some more numbers now: with only methods with source, that same operation takes about 14 seconds. With only methods with source and inlining enabled, it takes about 12 seconds. With method levels without source, inlining enabled or disabled, it takes about 31 seconds.
So, to summarize:
AP3 line level disabled: 9 seconds
AP4 line level, no inlining: 35 seconds
AP4 method level without source: 31 seconds
AP4 method level with source, no inlining: 14 seconds
AP4 method level with source, with inlining: 12 seconds
I also took a look at the JIT time. In the case of AP4 method level without source, it added up to about 43% of the time, with over half of that under System.Data.DataTable.NewRowArray(int size).
I hope that gives you something to work with. The majority of the time is spent in framework code, specifically System.Data classes.
Thanks,
Scott. / comments
Hi,
My Visual Studio is plain vanilla except for ANTS 3 and ANTS 4. I did have DevPartner installed a while back, but I uninstalled it, so it better no be having an impact (I only used its profiler...
Hi James,
Although I was able to disable the "File System Auto-Protect" of my anti-virus (which made no difference, as noted in the other thread), I was told by IT that there is no way to disable it 100% without completely uninstalling it from my machine, so I will not be able to give you a complete answer. If it makes any difference, I do not see any activity on the anti-virus process in task manager during a profiling run. The anti-virus we are using is Symantec version 9.
Scott. / comments
Hi James,
Although I was able to disable the "File System Auto-Protect" of my anti-virus (which made no difference, as noted in the other thread), I was told by IT that there is no way to disable i...
Hi Bart,
My machine is a dual core2 2.4 GHz with 2GB RAM running Windows XP 32 bit.
Thread affinity did not make a noticeable difference.
I have pulled out a stop watch to get some real numbers for you. In ANTS 3 with line level timings on all methods and the profiler disabled, a particular operation takes roughly 9 seconds. In ANTS 4 with the same settings, that same operation takes roughly 35 seconds.
As requested in the other thread, I am trying to figure out how to completely disable my virus scanner to see if that makes a difference. I disabled its file system auto-protect, and that made no difference, but there may be something else I need to disable.
Scott. / comments
Hi Bart,
My machine is a dual core2 2.4 GHz with 2GB RAM running Windows XP 32 bit.
Thread affinity did not make a noticeable difference.
I have pulled out a stop watch to get some real numbers for...
Hi Stephen,
I just realized I misread your reply when I first read it. I read it as ANTS 4 is faster than ANTS 3 when profiling, but you said ANTS 4 when profiling is faster than ANTS 3 when it is disabled. This is most definately not my experience (see http://www.red-gate.com/MessageBoard/vi ... 7737#27737). For me, ANTS 4 is substantially slower when doing line level timing than ANTS 3 disabled (even with anti-virus disabled), slow enough that I will most likely continue to use ANTS 3 for certain profiling activities because it just takes too long to get to the point where I need to start profiling. I will also say that the ability to disable the profiler was one of the determining features in our decision to purchase ANTS 3 over its competitors.
Apologies for mis-reading your post and thus my late reply,
Scott. / comments
Hi Stephen,
I just realized I misread your reply when I first read it. I read it as ANTS 4 is faster than ANTS 3 when profiling, but you said ANTS 4 when profiling is faster than ANTS 3 when it is ...
Hi Bart,
I just tried putting the PDB in my own application's directory and it worked! Unfortunately, I have to tell it where each file is, but at least I am now able to get the information. BTW, you weren't half kidding about the performance! [image]
I will make the request that future versions of ANTS be able to use the symbols directory configured in VS and also figure out the files better. Also, based on this, I am really hoping that Red Gate will seriously consider re-adding the ability to disable the profiler (http://www.red-gate.com/messageboard/vi ... php?t=7592). Otherwise, it will take forever to get to the point where we actually need to profile when doing per-line profiling on the System.Data classes (our logon screen took about 10 minutes to come up [due, it seems, to reading the app.config file], whereas normally it will come up within a few seconds when running under the profiler without System.Data, and in less than a second with the profiler disabled in ANTS 3).
Anyway, thanks a lot for your help.
Scott. / comments
Hi Bart,
I just tried putting the PDB in my own application's directory and it worked! Unfortunately, I have to tell it where each file is, but at least I am now able to get the information. BTW, y...
Hi Bart,
The methods are not appearing in bold. I copied the System.Data.pdb file to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.
Scott. / comments
Hi Bart,
The methods are not appearing in bold. I copied the System.Data.pdb file to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.
Scott.
Tooltip bug on call tree
Hi,
Just a minor, but rather annoying, bug I noticed. If you have another application open and active on top of the ANTS screen, the tooltips still come up on the call tree (e.g. "Source code is av...
Hi Bart,
I just tried this (copying the PDB to the framework directory) and it doesn't seem to make a difference, but I am not sure if I am doing the right thing. I have struggled a bit with getting the reference source working, but it seems to work now in Visual Studio, and I can step from line to line in the .Net code, so I assume that means the the line level offset mapping is available. Do you have any suggestions that I can try?
Thanks,
Scott. / comments
Hi Bart,
I just tried this (copying the PDB to the framework directory) and it doesn't seem to make a difference, but I am not sure if I am doing the right thing. I have struggled a bit with gettin...