gpt4 book ai didi

asp.net - 在 Linux 和 Visual Studio Code 中分析 dotnet core

转载 作者:行者123 更新时间:2023-12-02 10:18:36 24 4
gpt4 key购买 nike

有没有办法在 Linux 和 Visual Studio Code 中为 dotnet 核心应用程序执行 CPU 和内存分析?类似于Visual Studio 2017的“诊断工具”

最佳答案

https://github.com/dotnet/core/issues/1647

Q: So, Visual Studio has profiling tools to help you optimize your .Net Core projects. I was wondering if this is possible to do on Linux or macOS.

REPLY: @doyouevensunbro, Visual Studio doesn't have any profiling tools that work with .NET Core on Linux. At the current time, we recommend collecting performance data on Linux using perf. Instructions are available at https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md.

We're also working on exposing a .NET-centric profiler using functionality called EventPipe in CoreCLR. There's not much documentation on the subject yet.

另请参阅:

Profiling .NET Core app on Linux

There’re multiple tools to use out there, but the basic toolkit for profiling .NET Core app on Linux seems to be perf utility along with lttng and perfcollect. Let’s have a look at all of them.

还有:

Bringing .NET application performance analysis to Linux

关于asp.net - 在 Linux 和 Visual Studio Code 中分析 dotnet core,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53419264/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com