VS2010 Profiler比较报告基线/比较值
我已在我的 Web 项目上运行探查器两次,然后选择两个报告并生成比较报告。当我查看函数时,我看到每个函数有两行:
一行来自基线,另一行来自第二次配置文件运行。难道不应该将这些线组合起来以显示两者之间的 DELTA 吗?我将每个函数调用视为两行。
I have run the profiler on my web project twice and then selected the two reports and generated a comparison report. When I look at the functions, I'm seeing two rows for each function:
One line is from the baseline, and the other line is from the second profile run. Shouldn't these lines be combined to show the DELTA between the TWO? I'm seeing every function call as two seperate lines.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在比较的两份报告是来自网站项目吗?如果是这样,则每次收集配置文件时动态生成的模块名称可能都不同。由于我们使用函数名称和模块名称来确定函数是否匹配,这可以解释为什么 Page_Load 显示为两个不同的行。
您可以通过在 Visual Studio 中打开每个报告并导航到“模块”视图来确定每个报告中 Page_Load 的模块名称来检查这一点。
Are the two reports you are comparing from a website project? If so it is likely that the dynamically generated module name is different each time you collect a profile. Since we use both the function name and module name to determine if functions match, this would explain why Page_Load shows up as two different rows.
You can check this by opening up each report in Visual Studio and navigating to the 'Modules' view to determine what the module name is for Page_Load in each report.