Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Filtering methods

Moderators: Vladimir Kondratyev, Anton Katilin

Filtering methods

Postby feal » Wed Jan 27, 2010 1:36 pm

A problem i've encountered after beta testing the new 4.5 version (i tried yesterday for the first time, I don't know if the problem is still there even with older versions) is that :

Let's assume we have a library named Alpha in the namespace Std.
Let's assume that we have another class named Beta in the namespace Std2.
Let's assume that Beta use some methods from Alpha. (Used LOTS of time (> 500000 every second)).

We have a similiar call tree

Std.XXX.Call (1600 calls)
Std.Alpha.Call(480000 calls)
Std2.Beta.Call(160000 calls)
Std.Alpha.Call(160000 calls)
Std2.Beta.Call(160000 calls)
Std.Alpha.Call(160000 calls)
Std2.Beta.Call(160000 calls)
Std.Alpha.Call(160000 calls)

I want to filter every call coming from Alpha. (as they are too heavy for the profiler to handle and create false results due to overhead)
I use as filter "Std2.Beta.*, Std.Alpha.*" . But everything continue to appear into the profiled app.

Any clues about why?
feal
 
Posts: 10
Joined: Wed Jun 24, 2009 4:38 pm

Re: Filtering methods

Postby feal » Wed Jan 27, 2010 1:38 pm

mhn....the forum broken my formatting the call tree is :
Code: Select all
Std.XXX.Call (1600 calls)
    Std.Alpha.Call(480000 calls)
         Std2.Beta.Call(160000 calls)
    Std.Alpha.Call(160000 calls)
         Std2.Beta.Call(160000 calls)
    Std.Alpha.Call(160000 calls)
         Std2.Beta.Call(160000 calls)
    Std.Alpha.Call(160000 calls)
         Std2.Beta.Call(160000 calls)
feal
 
Posts: 10
Joined: Wed Jun 24, 2009 4:38 pm

Re: Filtering methods

Postby feal » Wed Jan 27, 2010 1:40 pm

Ok i hate myself, i posted again wrongly. :D

Code: Select all
Std.XXX.Call (1600 calls)
    Std.Alpha.Call(480000 calls)
         Std2.Beta.Call(160000 calls)
             Std.Alpha.Call(160000 calls)
         Std2.Beta.Call(160000 calls)
             Std.Alpha.Call(160000 calls)
         Std2.Beta.Call(160000 calls)
             Std.Alpha.Call(160000 calls)


P.S. Why there isn't an edit function in the forum? :P
feal
 
Posts: 10
Joined: Wed Jun 24, 2009 4:38 pm

Re: Filtering methods

Postby feal » Thu Jan 28, 2010 9:19 am

Managed to understand why. I had to specify only the class name, not the wildcard .*
feal
 
Posts: 10
Joined: Wed Jun 24, 2009 4:38 pm

Re: Filtering methods

Postby Anton Katilin » Thu Jan 28, 2010 12:37 pm

Hello,

Yes, only class names should be specified, not method names. In class and namespace names, wildcards are allowed.

Best regards,
Anton
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 4 guests