您是否知道 .NET 分析器可以在计时器上对调用堆栈进行采样,生成所用时间的映射?
就地图而言,请考虑 WinDirStat。只有理想情况下,它才会显示时间而不是文件大小,名称空间和类而不是目录,以及方法而不是文件。
这里 我一直在读的内容。
As far as the map goes, think WinDirStat. Only ideally it would show time instead of file size, namespace and class instead of directory, and method instead of file.
Here's what I have been reading.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Red Gate 的 ANTS Performance Profiler 是一款不错的工具。我用它来分析 Asp.net 应用程序。但它也提供 Win App 分析。他们确实有 14 天的试用期。你可以尝试看看。
功能包括,
- 每行代码所花费的时间百分比(如果您想调整代码,则非常有用)。
- 线路级性能显示。
- 基于调用堆栈的显示。
- 内存映射。
http://www.red -gate.com/products/dotnet-development/ants-performance-profiler/
正如 Rick Sladkey 所说,您可以使用内置工具。您可以使用它获得整个应用程序的预期性能。与红门一号相比,它的重量更轻。
Red Gate's ANTS Performance Profiler is a good one. i have used it to profile Asp.net application. But it provides Win App profiling as well. They do have 14days trial. You can try and see.
Feature's Includes,
- Percentage of time spent on each line of code (very useful if you want to tune your code).
- line level performance display.
- Call stack based display.
- memory map.
http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/
As Rick Sladkey Said you can use inbuilt tools. You can get whole application prospective performance using this. And this is light weight compare to Red Gate one.
Visual Studio 的某些版本包含采样分析器:
示例分析报告包含许多视图,其中一些与您描述的地图类似。
我使用过许多分析器,虽然这个分析器不是世界上最奇特的分析器,但它确实产生了值得信赖的结果,这使得它非常有价值。
Certain editions of Visual Studio includes a sampling profiler:
The Sample Profiling Report includes many views, some similar to the map you describe.
I have use many profilers, and while this profiler is not the fanciest profiler in the world, it does produce trustworthy results, and this makes it invaluable.