Activity overview
Latest activity by brettr
Thanks. I'll see which methods I can work with and try to figure out if there are ways to avoid over using them.
As for the GetRoleDelegate() method, the drill down doesn't go any where. I'm assuming that means I'm stuck with it. I am using the asp.net membership/roles framework. Probably the only way to test this is to make a copy of the site that doesn't use that framework. If there is a difference in the site not using the membership/roles framework, I'm really getting somewhere by saving over a minute since I don't much utilize that framework anyway. I'm sure I'll find other related bottlenecks as I explore more.
Thanks again. / comments
Thanks. I'll see which methods I can work with and try to figure out if there are ways to avoid over using them.
As for the GetRoleDelegate() method, the drill down doesn't go any where. I'm assu...
Thanks. I see in the hierarchy some of these system methods are called 644,000 + times just in a few page clicks. I don't know if that is normal. But the total time listed is only .0514. Does that sound correct? If it is, I get that number of calls is fine.
I suppose now it's more to do with finding out what exactly these system methods mean. For example, there is a method named PipelineRuntime.GetRoleDelegate() that takes 63.1684 seconds. There isn't any further drill down for it. I'm not sure what it does or if there is a way to directly tweak it or work with it in my code. These are the issues I seem to face now. Do you have any suggestions for this? Or how are others using Ants correcting it?
If all of my problems are in system methods, how can Ants help me?
Thanks,
Brett / comments
Thanks. I see in the hierarchy some of these system methods are called 644,000 + times just in a few page clicks. I don't know if that is normal. But the total time listed is only .0514. Does t...
Ah! After I click the "All methods" tab and sort on Time with childrent, I see where all of the time is. I suppose the profile all .NET methods helped here as well. It doesn't actually appear to be my code but the .NET framework that is taking so long. Must of the 9+ second time is in:
System.Web.UI
and
System.Web.Util
My code is mostly in the below .01 time range. What do you recommend for people in these scenarios? Is there a way to tweak an app with code you have no control over? Maybe I'm still not understanding the results.
This code (.NET namespaces) is very intertwined with my own code. If Ants could point out where I reference certain things, maybe I could restructure those parts or get a better understanding of why it is so slow. However, if I click a line from the top pane, it doesn't show any source code or where I reference it.
Thanks,
Brett / comments
Ah! After I click the "All methods" tab and sort on Time with childrent, I see where all of the time is. I suppose the profile all .NET methods helped here as well. It doesn't actually appear to...
I did try that but it doesn't really make any difference. I have four methods between .1 and .4 seconds. That still doesn't tell me why certain parts of the app are taking seconds to run. I did click on the slower parts of the app hoping to profile them. / comments
I did try that but it doesn't really make any difference. I have four methods between .1 and .4 seconds. That still doesn't tell me why certain parts of the app are taking seconds to run. I did ...
Not really getting any useful information
I'm profiling an asp.net 2.0 site. I select detailed profile using IIS. Ants starts my site. I have a couple of places that take over 5 seconds to run. I click on those sections. Then close th...
I don't know why but when port 8013 was used, it was pointing to the wrong site. I finally figured out which site (it was a recent backup of my current site, which threw me off b/c they are similar) and removed it. Now it points to the correct site. I don't know how it decided to switch after I removed the old site or why it was looking in the wrong place to begin with. / comments
I don't know why but when port 8013 was used, it was pointing to the wrong site. I finally figured out which site (it was a recent backup of my current site, which threw me off b/c they are simila...
Hi Robert,
I followed your suggestion and that is not working either. After stopping the profiler, I can never view any results. It just stays on the start page.
The specific starting page I want to begin profiling keeps throwing this error:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'RadAjax.Net2, Version=1.6.1.0, Culture=neutral, PublicKeyToken=3f7b438d1c762d0b' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
Line 1: <%@ Page Language="C#" MasterPageFile="~/index.Master" AutoEventWireup="false" Inherits="mysite.test.Login" Title="Untitled Page" %>
Line 2:
Line 3: <%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>
I always use this IP on the developer machine 192.168.1.66/login.aspx. That works fine. Ants is using 192.168.1.66:8013/login.aspx and that seems to be a problem. It works otherwise.
As a test, I configured IIS to use port 8013 on the above IP. I then referenced 192.168.1.66:8013/login.aspx without any problems. I've removed that configuration from IIS so Ants has a clear port. I don't understand why Ants is complaining.
Do you have any suggestions?
Thanks,
Brett / comments
Hi Robert,
I followed your suggestion and that is not working either. After stopping the profiler, I can never view any results. It just stays on the start page.
The specific starting page I want...
No profiling on Vista
I've following your instructions here http://www.red-gate.com/MessageBoard/vi ... php?t=3472 but that did not work. The web server starts and I open the browser to the site. Everything loads and ...