C# Performance

Open-source C# projects categorized as Performance

Top 23 C# Performance Projects

Performance
  1. BenchmarkDotNet

    Powerful .NET library for benchmarking

    Project mention: Various .NET Benchmarks | dev.to | 2025-03-28

    The name of the library is BenchmarkDotNet and the documentation can be found here. The only thing you have to do is:

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Entitas

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

  4. perfview

    PerfView is a CPU and memory performance-analysis tool

  5. optick

    C++ Profiler For Games

    Project mention: Optick: C++ Profiler for Games | news.ycombinator.com | 2025-04-23
  6. NetCoreServer

    Ultra fast and low latency asynchronous socket server & client C# .NET Core library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution

  7. ComputeSharp

    A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀

    Project mention: My negative views on Rust (2023) | news.ycombinator.com | 2024-10-09

    > RISC-V

    The work is underway: https://github.com/dotnet/runtime/pulls?q=label%3Aarch-riscv

    > PTX

    https://ilgpu.net/ and even https://github.com/m4rs-mt/ILGPU/blob/c3af8f368445d8e6443f36...

    While not PTX, there's also this project: https://github.com/Sergio0694/ComputeSharp which partially overlaps with what ILGPU offers

    Arguably, even C++ itself - you are not using "full" C++ but a special subset that works on top of specific abstraction to compile to GPUs, and I was told that CUDA C++ is considered legacy.

    The original context of discussion is performance and perceived issue of "having runtime", which is what my reply is targeted at. In that context, C# provides you the tools and a solution other languages in the class of Java, Go, TS and anything else interpreted just don't have. So you could reasonably replace a project written in C++ with C#, and possibly re-apply all the freed-up developer productivity into further optimizations, but you wouldn't be able to do so with the same degree of confidence with most other originally high-level languages. Another upcoming contender is Swift.

  8. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  9. FusionCache

    FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.

    Project mention: FusionCache v2.1 – Production-ready implementation of Microsoft HybridCache | news.ycombinator.com | 2025-02-05
  10. App.Metrics

    App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.

  11. Lazy Cache

    An easy to use thread safe in-memory caching service with a simple developer friendly API for c#

  12. PowerUp

    âš¡ Decompilation Tools and High Productivity Utilities âš¡

  13. FastExpressionCompiler

    Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.

  14. PrimeTween

    PrimeTween is a high-performance, allocation-free animation library for Unity. Animate anything with just one line of code, tweak all animation properties directly from the Inspector, and create complex animation sequences. No runtime memory allocations, ever.

  15. BedrockFramework

    High performance, low level networking APIs for building custom servers and clients.

  16. Sep

    World's Fastest .NET CSV Parser. Modern, minimal, fast, zero allocation, reading and writing of separated values (`csv`, `tsv` etc.). Cross-platform, trimmable and AOT/NativeAOT compatible.

    Project mention: CsvHelper VS Sep - a user suggested alternative | libhunt.com/r/CsvHelper | 2024-09-20
  17. DryIoc

    DryIoc is fast, small, full-featured IoC Container for .NET

  18. Latios-Framework

    A Unity DOTS framework for my personal projects

  19. SqlQueryStress

    SQL query stress simulator created by Adam Machanic http://dataeducation.com/sqlquerystress-the-source-code/

  20. NetFabric.Hyperlinq

    High performance LINQ implementation with minimal heap allocations. Supports enumerables, async enumerables, arrays and Span<T>.

  21. CrossPlatformDiskTest

    Windows, macOS and Android storage (HDD, SSD, RAM) speed testing/performance benchmarking app

  22. Performance-Fish

    Performance Mod for RimWorld

  23. 1brc

    1BRC in .NET among fastest on Linux (by buybackoff)

    Project mention: 1BRC Coding Challenge: Nerd Sniping the Java Community | news.ycombinator.com | 2024-10-30

    Here's a good writeup for .NET: https://hotforknowledge.com/2024/01/13/1brc-in-dotnet-among-...

  24. Microsoft-Performance-Tools-Linux-Android

    Linux, Android and Chromium Performance Tools built using the Microsoft Performance Toolkit. Cross-platform .NET Core + WPA GUI

  25. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Performance discussion

Log in or Post with

C# Performance related posts

Index

What are some of the best open-source Performance projects in C#? This list will help you:

# Project Stars
1 BenchmarkDotNet 10,931
2 EntityComponentSystemSamples 7,570
3 Entitas 7,329
4 perfview 4,371
5 optick 3,006
6 NetCoreServer 2,943
7 ComputeSharp 2,917
8 FusionCache 2,784
9 App.Metrics 2,224
10 Lazy Cache 1,739
11 PowerUp 1,642
12 FastExpressionCompiler 1,258
13 PrimeTween 1,266
14 BedrockFramework 1,099
15 Sep 1,092
16 DryIoc 1,059
17 Latios-Framework 1,056
18 SqlQueryStress 980
19 NetFabric.Hyperlinq 881
20 CrossPlatformDiskTest 592
21 Performance-Fish 589
22 1brc 448
23 Microsoft-Performance-Tools-Linux-Android 337

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C# is
the 10th most popular programming language
based on number of references?