Performance Profiling | .NET Perf Counters Tool

Sdílet
Vložit
  • čas přidán 15. 06. 2024
  • Diagnostics PM Sagar Shetty continues taking us on a tour of the Visual Studio profiling tools. Today he shows how you can see visual .NET counters over time from within the Visual Studio profiler.
    Learn more about profiling in Visual Studio at aka.ms/vsprofilingdocs.
    Learn more about the .NET Perf Counters tool at docs.microsoft.com/en-us/visu....
  • Věda a technologie

Komentáře • 12

  • @Tony-bz8mf
    @Tony-bz8mf Před 3 lety +3

    Performance profiling has always been an art. I find myself looking down long lists of counters not knowing which ones are relevant and selecting cpu or memory ones because those are obvious. The highlighted hot functions are really useful because it instantly tells you there is a problem. You don't have to hunt for it with a deep knowledge. The next problem is understanding why the performance problem has occurred and that takes great experience and knowledge. It's a really difficult area that in my experience few people are good at. Anything you can do to make it easier would be greatly appreciated

  • @huraken948
    @huraken948 Před 3 lety +3

    For production environment, is it possible to collect those counters using command line tool and analyze them visually like you did in Visual Studio ?

  • @aaronzhang4717
    @aaronzhang4717 Před 2 lety

    This is next level

  • @romanborysov4821
    @romanborysov4821 Před 15 hodinami

    Sagar opened the file with the "problematic" method manually. Instead it was expected that he was redirected to that method by clicking flame graph or hot path. "Manual" approach is good for 2-LOC methods, but not 100+ ones. So most interesting demo part (about proper configuring PDB sources) was missing. 🙃

  • @MyFuzzyAfterlife
    @MyFuzzyAfterlife Před 3 lety +2

    Could you link to that code please

  • @llothar68
    @llothar68 Před 3 lety +2

    Why is there no MS love for C++ 😭😭. Can't we get some more and better tooling for C++ too?

    • @warrenbuckley3267
      @warrenbuckley3267 Před 3 lety +1

      Yeah this would be great. I'd really like a valgrind like tool built into Visual Studio as well.

  • @rezarezash
    @rezarezash Před 3 lety +1

    could you provide link to that repo please?

    • @SergeyLitvinovUA
      @SergeyLitvinovUA Před 3 lety +5

      That’s github.com/davidfowl/AspNetCoreDiagnosticScenarios repo

    • @vamsi8669
      @vamsi8669 Před 3 lety

      @@SergeyLitvinovUA Thank you

    • @rezarezash
      @rezarezash Před 3 lety

      @@SergeyLitvinovUA Thank you

  • @hiteshgupta9880
    @hiteshgupta9880 Před 3 lety

    Bad quality of video