dotTrace -- .Net性能分析的利器

[ 2007-07-27 21:25:26 | 作者: progame ]
文字大小: | |
因为涉及到ORM的性能分析, 于是想找到最大瓶颈在哪里, 找了一下C# Profiler, 但看到了JetBrains出品的dotTrace

现在最新的版本是3.0, 试用版本为10天, 包括cpu时间的性能分析和memory占用的内存分析, 速度虽然在tracing状态下很受影响, 但仍在可以接受的范围, 如果是sampling分析, 则要快的多. 它的分析结果可以以多种分式查看, 并且能对两个分析结果进行比较分析, 可视化做得相当得好

uploads/200707/27_214318_dottrace.jpg


JetBrains dotTrace is the complete profiling solution for .NET. It profiles:

the performance of .NET Framework 1.1 and 2.0 applications
the memory usage of .NET Framework 2.0 applications
ASP.NET applications running on Internet Information Server & ASP.NET Development Server
Windows services
Convenience and ease of use set dotTrace Profiler apart from the many profiling tools built for the Microsoft .NET platform.

The friendly program interface features effective navigation, easy filtering, smart search options and handy source preview. Its speed and efficiency also cannot go unmentioned: dotTrace decisively outperforms the great majority of its in-class competitors.

通过使用后, 发现我的ORM组件TBP.Data的主要损耗在:
对entitylist的内部table设置PrimaryKey
维护entity的dbvalues values dirtyflag

做了部分优化, 速度提升了一倍, 但比NH在构造entity list上仍然有较大差距, 大概是它的3倍时间长
评论Feed 评论Feed: /feed.asp?q=comment&id=931

您可能感兴趣的文章:


浏览模式: 显示全部 | 评论: 2 | 引用: 0 | 排序 | 浏览: 1233
引用 wuming*
[ 2008-05-23 10:31:48 ]
关注。对亟待性能优化。net代码很有帮助
引用 wuming*
[ 2008-05-23 10:36:24 ]
博主是Thought公司的?

发表
表情图标
[smile] [confused] [cool] [cry]
[eek] [angry] [wink] [sweat]
[lol] [stun] [razz] [redface]
[rolleyes] [sad] [yes] [no]
[heart] [star] [music] [idea]
UBB代码
转换链接
表情图标
悄悄话
用户名:   密码:   (非注册用户不需要输入密码) 注册?
验证码(不区分大小写) * 请输入验证码