ASP.NET 中的分析帮助
我正在使用 WebFormsMvp 和 Entity Framework 4 构建一个网站。
该网站有点慢,当我在 dotTrace 中进行分析时,这三种方法花费了 75% 的时间。 (我的第一个方法大约需要3%)
- System.Threading.WaitHandle.InternalWaitOne(SafeHandle, Int64,布尔值,布尔值)
- Microsoft.Samples.Runtime.Remoting.Channels.Pipe.PipeNative.ConnectNamedPipe(Int32, 重叠)
- Microsoft.Samples.Runtime.Remoting.Channels.Pipe.PipeNative.ReadFile(Int32, 字节[0..],UInt32,字节[0..], UInt32)
之前见过这三个的人应该能了解一下这可能是什么?我试图追踪它们,但找不到任何有用的东西。我知道这是一个很难回答的问题..
I am building a site using WebFormsMvp and Entity Framework 4.
The site is a bit slow and when i profile in dotTrace these three methods take 75% of the time. (My first method takes about 3%)
- System.Threading.WaitHandle.InternalWaitOne(SafeHandle,
Int64, Boolean, Boolean) - Microsoft.Samples.Runtime.Remoting.Channels.Pipe.PipeNative.ConnectNamedPipe(Int32,
Overlapped) - Microsoft.Samples.Runtime.Remoting.Channels.Pipe.PipeNative.ReadFile(Int32,
Byte[0..], UInt32, Byte[0..],
UInt32)
Anyone seen these three before that should shine some light on what this might be? I've tried to track them down but cannot find anything useful. I know this is a really hard question to answer..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些都是阻塞线程的例程。您需要知道的是为什么要调用该 I/O。有一个非常简单的方法可以找到 -
Those are all routines that block threads. What you need to know is why you are calling for that I/O. There is a very simple way to find out - stackshots.
All you need is an IDE with a pause button.