问题标签 [dottrace]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
8510 浏览

.net - SNIReadSyncOverAsync 性能问题

最近我常常dot Trace profiler发现我的应用程序中的瓶颈。

突然间,我看到在大多数地方都需要更多的时间和更多的cpu使用是SNINativeMethodWrapper.SNIReadSyncOverAsync()Executereader 方法调用的ADO.Net,我不知道为什么它需要更多的时间。

如果我在其中运行相同的查询,SQL server它的运行速度非常快。

  1. 有人知道为什么要花更多时间吗?
  2. 这种方法的替代方法是ADO.Net什么?
0 投票
1 回答
210 浏览

performance - 令人困惑的 dottrace 分析结果

好的,这就去。由于我们的一台生产服务器上的性能问题,我被要求使用 dottrace 分析器来查看发生了什么。我正在分析的项目是一个在 IIS 中运行的具有大量 WCF 服务的应用程序。这是一个相当复杂的项目,由多个程序集组成。在整个项目中,Ninject 被用作 DI 容器。

我尝试在开发服务器上对应用程序进行几次分析,以确保它按预期工作,这似乎是这种情况。

我开始分析我们的生产服务器(在 w3wp 上使用跟踪作为详细级别),服务器的性能立即下降,变得非常缓慢且无响应。我知道探查器会有性能问题,但我不知道它几乎会杀死服务器(在开发服务器上没有问题)。

所以在那次可怕的经历之后很迷茫。Dit dottrace 真的几乎杀死了我们的生产服务器吗?为什么?

分析的结果至少同样令人困惑,我不知道该怎么做,对我来说似乎 ninject 是这里的问题,但这真的是它还是 dottrace 分析器在玩我?

任何输入都非常受欢迎!以下是 dottrace 的结果

http://i.stack.imgur.com/vVvlM.png

更新:

好的,我扩展了热点,似乎主要是 WCF 调用。但是为什么它们会出现在 ninject 解析器下呢?

从现在开始我将使用采样,并希望它在我们的生产服务器上更加温和。

http://i.stack.imgur.com/c2tzL.png

0 投票
1 回答
582 浏览

azure - Azure 上的 JetBrains DotTrace 远程分析

分析新手,我发现 JetBrains DotTrace 是许多开发人员的推荐。开始测试并在本地机器上成功运行。

我现在面临的问题是我无法将它用于托管在Windows Azure Server 2012上的远程机器。我已按照他们提供的文档中提到的说明进行操作,但没有任何帮助并出现类似错误

TCP 错误代码 10060

谁能帮我连接到远程服务器?请帮忙。

0 投票
1 回答
3923 浏览

profiling - 使用 DotTrace 性能时如何理解“本机或优化代码”中的性能问题

我在我的 Web 应用程序上使用 DotTrace Performance (v 5.5.4)。我正在尝试在冷启动 MVC 5 应用程序后优化页面加载时间。查看快照上的主线程,似乎大部分工作都是在“本机或优化代码”中完成的。这似乎有点过于笼统,并没有真正的帮助。这到底意味着什么,我该如何进一步深入研究?

在此处输入图像描述

注意:我在 jetbrains 论坛上找到了类似的帖子,但那里似乎也没有发布任何解决方案。

0 投票
1 回答
822 浏览

performance-testing - 使用 AppDynamics 监控代码/方法级别的统计信息

我现在正在对运行在 GlassFish Server 4.1 上的 Java 应用程序进行性能测试。

在查看了从 AppDynamics 工具获得的一些统计数据后,我发现我无法深入到代码/方法级别的问题。例如,我可以使用 dotTrace 或 JProfiler 查看每个方法或函数所花费的时间,但 AppDynamics 工具似乎跳过了所有这些功能。

我也在寻找免费的解决方案,因此我选择了 AppDynamics。现在我觉得我没有走在正确的轨道上。如果我遗漏了什么或建议任何其他快速简便的解决方案,有人可以让我了解更多有关此工具的信息。

GlassFish server 4.1 上的监视器是否有可能免费做同样的事情?

0 投票
1 回答
285 浏览

c# - Configure DotTrace profiling VSTest on TeamCity

DotTrace can be used to profile tests on TeamCity. But this example works with NUnit, while my tests are written in Visual Studio Tests. When running my tests I use the build-in test engine VSTest, no such option is available for the DotTrace profiler plugin. Instead I need to specify the path for the test engine executable.

I did find an executable VSTest.exe but it's path includes "Microsoft SDKs\Windows Phone\v8.0\ExtensionSDKs", so unsurprisingly it doesn't work. Saying it can't find a start.bat file, that does indeed not exist in that .exe file.

What is the executable path that TeamCity uses for VSTest?

Then I can configure the performance test to use that test engine. I know the tests can be executed using DotTrace, having run it in Visual Studio, just don't want to install Visual Studio and the DotTrace plugin there when there's a TeamCity plugin.

0 投票
1 回答
42 浏览

debugging - Generate profiling information as part of a .net assembly

Is there a tool that can help me profile .net applications by generating a file and then opening the file with a viewer. I want to be able to deploy my application and it will constantly generate profiling information, then when my issue reoccurs I can examine that profiling information file.

0 投票
2 回答
1079 浏览

c# - 如何让 dottrace 分析子进程?

我在 Visual Studio 2015 中有一个项目。

我想分析我的单元测试(右键单击测试和配置文件)。但是,单元测试会启动一个子进程。我想与父进程一起分析子进程。

是否有 JetBrains API 调用将分析器附加到子进程?

请注意,如果我分析一个应用程序,我就有机会分析子进程。

在此处输入图像描述

但是对于单元测试分析,此选项不可用

在此处输入图像描述

0 投票
0 回答
514 浏览

c# - 将 Dottrace 报告导出为可用格式

我想根据 dottrace 报告自动化测试,以确保我的代码在性能方面不会倒退。问题是我不能使用 dottrace 报告,因为它们的格式,获取 XML 文件或其他任何可用作报告的文件会更容易。

知道我能做什么吗?

编辑:在 dottrace 2018 中,您可以使用此页面:

https://www.jetbrains.com/help/profiler/Performance_Profiling__Profiling_Using_the_Command_Line.html

0 投票
2 回答
830 浏览

.net - 如何让 dotTrace ConsoleProfiler 收集快照?

我在应用程序上运行 dotTrace 的 ConsoleProfiler ( dotTrace doc ) 并不断收到一条消息:

"分析在 60.906 秒内成功完成

未收集任何快照”。

我错过了什么?

控制台输出:

dotTrace_Config.xml: