Can Yourkit tool can profile .asp pages ?

Questions about YourKit .NET Profiler
Post Reply
soumyamukherjee
Posts: 7
Joined: Mon Oct 24, 2016 11:21 am

Can Yourkit tool can profile .asp pages ?

Post by soumyamukherjee »

Hi,
I have an application which has both .asp pages as well as .aspx pages. Yourkit seems to show the call tree for .aspx page correctly with all the http requests, button clicks and respective methods calls. But for the .asp pages it only shows the built in methods. Kindly let me know if Yourkit tool can profile .asp pages ?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Can Yourkit tool can profile .asp pages ?

Post by Anton Katilin »

It can profile ASP on server side. Could you please provide a snapshot and/or screenshot demostrating the problem.
soumyamukherjee
Posts: 7
Joined: Mon Oct 24, 2016 11:21 am

Re: Can Yourkit tool can profile .asp pages ?

Post by soumyamukherjee »

I cannot provide the entire snapshot or a screenshot but below is an example to show you my problem.

Currently for .asp web page, i see below call tree in the snapshot.
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object,Object[],Object[])
\->DexSession.SessionHandler.getSessionVariable(String)
\->System.Threading.TimerQueue.FireNextTimers()


Whereas for .aspx web page, i see below call tree in the snapshot.
System.Web.Hosting.ProcessRequestNotification(IntPtr,IntPtr,IntPtr,Int32)
\->{Webpage}_aspx.ProcessRequest(HttpContext)
\->\->System.Web.UI.Page.ProcessRequest(HttpContext)


Since i can see the webpage name in the .aspx case, and the methods invoked therein, it becomes easier to understand and drill down the problem. But in case of .asp pages, i can see only built in code. It becomes very difficult to understand which page the call tree signifies.

Could you please let me know how to get a call tree for .asp page just like i get for .aspx. What am i missing? Is it possible to get a snapshot like for .asp pages similar to .aspx pages? Sorry If I am not able to give you more details.
soumyamukherjee
Posts: 7
Joined: Mon Oct 24, 2016 11:21 am

Re: Can Yourkit tool can profile .asp pages ?

Post by soumyamukherjee »

In short, can I profile classic asp? If yes, then what extra step should I make to get a proper profile for .asp pages?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Can Yourkit tool can profile .asp pages ?

Post by Anton Katilin »

You can profile only CLR managed code. If your ASP page is not handled via the managed runtime you won't see it.

1. If some calls are collapsed please try to deactivate the filters: https://www.yourkit.com/docs/dotnet/help/filters.jsp

2. Also check if you see anything in "High-level statistics" https://www.yourkit.com/docs/dotnet/hel ... _level.jsp
Post Reply