Performance Tips?

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

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

    .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

  • Of course there are exceptions, types such as [ReadOnly]Span use struct enumerators that don't implement interfaces, so the JIT can inline calls and generate code that is identical to a version using plain for-loops. List and many other collections also use struct enumerators, but they may also have safety checks which makes them slightly slower compared to the for-loop (related issue).

  • SharpLab

    .NET language playground

  • Finally, it's probably worth getting familiar with profilers (VS's builtin is fine) and tools such as benchmark.net and sharplab.io.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • BenchmarkDotNet

    Powerful .NET library for benchmarking

  • Finally, it's probably worth getting familiar with profilers (VS's builtin is fine) and tools such as benchmark.net and sharplab.io.

  • ForBenchmark

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