How can we help you today? How can we help you today?
Bart Read
Hi there Troy and rgrenfell, Sorry for the delay in replying to you. I'd meant to post a couple of days back. It is actually possible to filter by namespace in ANTS Profiler 4. What you need to do is switch to the methods grid, then click Tools > Find on the main menu, or just hit CTRL+F. Now just type your namespace name into the box. This also works for type and method names. You'll find the list should filter down as you type. You can also use the find functionality in the tree, although in this case it will drill down to the first matching node rather than filtering. On the topic of blocking time, make sure that on the toolbar below the tree/grid/graph you select "CPU time" rather than "Wall clock time" if you wish to exclude it. CPU time includes only time your application, or a particular thread within it spends executing on the CPU, whereas wall clock time also includes blocking time for I/O, sleeping, and suchlike. Note that methods which block can obviously also use quite a lot of CPU time for actual processing; I've seen SqlCommand.ExecuteReader() do this when executing a query that returns a large result set. I'd also recommend you only view methods with source in the tree and grid--again, you can change this on the toolbar underneath--and that you hide insignificant methods. Use the checkbox on the right hand side of this toolbar to control whether or not insignificant methods are shown--these are methods which take up less than 1% of the execution time for the selected period. If interesting processing is only happening on particular threads, I'd recommend you select the thread of interest from the threads drop-down. This means that if your blocking is occurring on another thread it'll be completely excluded from the results. Finally I'd echo Steve's comments about the timeline: use this as much as possible to only view data for the time period of interest. Just click and drag to select. If that doesn't help you out please let me know. Thanks, Bart / comments
Hi there Troy and rgrenfell, Sorry for the delay in replying to you. I'd meant to post a couple of days back. It is actually possible to filter by namespace in ANTS Profiler 4. What you need to do ...
0 votes
Thanks Alex, There is also a workaround, in that you can just open a query with EXEC [ClassName].[TestSprocName] and set a breakpoint on that but it would be great to have something a bit more seamless. Cheers, / comments
Thanks Alex, There is also a workaround, in that you can just open a query withEXEC [ClassName].[TestSprocName] and set a breakpoint on that but it would be great to have something a bit more sea...
0 votes