C#: Does Visual Studio 2022 offer a way to profile which function(s) are taking the most time during execution?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • BenchmarkDotNet

    Powerful .NET library for benchmarking

  • It's common to use Benchmark DotNet for "micro benchmarking" i.e. timing small isolated bits of code like it's a unit test.

  • serilog-timings

    Extends Serilog with support for timed operations

  • A logging package may have this built in, with a "Disposable timer" pattern such as e.g.: https://github.com/nblumhardt/serilog-timings

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts