Profiling Help

6 posts, 1 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 27 Mar 2012 Link to this post

    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
  2. Answer
    Kristian
    Admin
    Kristian avatar
    1 posts

    Posted 28 Mar 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 28 Mar 2012 Link to this post

    Ah great thanks

    Hey, am I yet able to hide the MS assemblies from the profile yet?
  5. Todor
    Admin
    Todor avatar
    63 posts

    Posted 29 Mar 2012 Link to this post

    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 >>
  6. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 04 Apr 2012 Link to this post

    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
  7. Todor
    Admin
    Todor avatar
    63 posts

    Posted 05 Apr 2012 Link to this post

    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 >>

Back to Top
DevCraft banner