This is a migrated thread and some comments may be shown as answers.

Profiling Help

5 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 27 Mar 2012, 04:25 PM
Hey Guys,
  I have a webservice (asmx) which returns me a list of items pulled from OpenAccess.  The method is taking about 1.5 seconds to run where I'd like it to be more in the few hundred ms range (at most)

How do I go about testing just that dude with JustTrace?  Is there such a thing as decorating a method or a class with a JT attribute for it to do some special highlighting or something? :D

I'm having an issue in the trace results finding the method being called (if it is even here)...like there's so much "System." core junk everywhere (which I dont need to see)

What am I doing wrong, or what should I be doing?

Steve

5 Answers, 1 is accepted

Sort by
0
Accepted
Kristian
Telerik team
answered on 28 Mar 2012, 05:01 PM
Hello Steve,

To better find the desired method you can use the search function in the call tree window ( key binding is ctrl + f or you can press the little icon next to the Call Tree tab). From there you can check the own time of each function called by your method, so you can better profile your application.
If the function is called very often it will appear in the Hot Spots view and you can also find it there.

 

All the best,
Kristian
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 28 Mar 2012, 05:19 PM
Ah great thanks

Hey, am I yet able to hide the MS assemblies from the profile yet?
0
Todor
Telerik team
answered on 29 Mar 2012, 10:04 AM
Hello Steve,

It is not possible to filter out BCL types and functions at this time.

This is a very high priority functionality for us and we are aiming to implement it for Q2 2012.

We know that filtering, navigation, and different views in the profiling data are very important features of any profiler. Would you please tell us what feature you want to have in JustTrace? Also, it would help us greatly, if you tell us your workflow of using JustTrace, so that we can adapt our UI to what users actually need. 

Kind regards,
Todor
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 05 Apr 2012, 01:52 AM
Ok, so I just had a big problem where I clearly needed to profile (cpu was spiking the w3wp to 50% and not returning from that, so locks the site)

**SO THIS IS FROM AN AMATEUR PROFILER :D **

Now I have used "The Red competition :)" and still have an active license for that.  Problem though is with JT I'm finding I'm just flooding with a ton of info in a format that's not all entirely helpful.  What I felt was the best feature of the other guys was the "Live view" charting (which you have).  But when the snapshot is taken I could select a portion and below the chart it shows me the methods causing problems in that area.  And usually its only showing me my bits.  Now I don't think you guys have this right?

What I found when looking at JT is that I have:
- One view is with threads that seem to drill down forever, never sure where to start because they all just say Thread #
- Method list view is full of generic .net System.Something stuff which muddles up the view, even sorting by OwnTime I dont see where my problem was
- Hot Spots seems like a combination of the two others.  System.Something stuff allover the place with the drilldowns

What would be handy even on a basic level is a right-click expand all for an entire node or all nodes...but from an amateur who has no idea what to look for or what he's doing...I think I need to stick to the other product for now.

I guess I just want to see how I can make MY code more efficient, and where I've clearly done something dumb :)  What would be super slick is JD style integration to show the offending code.

Steve
0
Todor
Telerik team
answered on 05 Apr 2012, 09:34 AM
Hi Steve,

Thank you very much for your post. We will take into consideration everything you said.

I am adding some Telerik points for your help.

Regards,
Todor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Kristian
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Todor
Telerik team
Share this question
or