【问题标题】:Performance profiling asp.net, what is ProcessRequestNotificationHelper?性能剖析asp.net,什么是ProcessRequestNotificationHelper?
【发布时间】:2013-03-10 19:33:55
【问题描述】:

我正在分析一个 asp.net Web 应用程序的性能,负载为每秒 20 个用户。 20 个用户基本上是在破坏应用程序,并且没有加载任何内容。

我正在使用 RedGate 性能分析器,但我不知道该怎么做。

12% 的时间花在我的代码上(我可以深入研究和改进) 但是 88% 的时间都花在了

System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, int flags)

..我不知道这是什么(嗯,我很确定这与 IIS7 有关系...),并处理一个无法每秒处理 20 个用户的网站,在 88 % 的时间,这似乎是一个不错的起点。

有什么想法吗?

【问题讨论】:

  • 这是专门花在 ProcessRequeststNotificationHelper 上的时间,而不是它调用的任何东西?
  • 否 - 进一步分析,我认为它可能是主要入口点之一,因此所有其他方法(已分离出来......)可能会出现在它的下方。仍在努力
  • 只是想知道你有没有想过这个问题。我遇到了类似的事情。

标签: c# asp.net iis-7 iis-7.5 performance-testing


【解决方案1】:

ProcessRequestNotificationHelper 只是您的分析工具捕获数据的入口点。 Dynatrace 和 RedGate 一样,将其定义为 ASP.Net 传感器可以开始跟踪 ASP.Net 管道中的传入请求的入口点。

https://community.dynatrace.com/community/display/DOCDT60/ASP.NET+Sensor

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-19
    • 1970-01-01
    • 2011-11-10
    • 2011-10-10
    • 1970-01-01
    相关资源
    最近更新 更多