Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →
Top 23 C# Performance Projects
-
The name of the library is BenchmarkDotNet and the documentation can be found here. The only thing you have to do is:
-
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.
-
Entitas
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
-
-
-
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
-
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! 🚀
> 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.
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
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 -
App.Metrics
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
-
Lazy Cache
An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
-
-
FastExpressionCompiler
Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.
-
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.
-
BedrockFramework
High performance, low level networking APIs for building custom servers and clients.
-
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 -
-
-
SqlQueryStress
SQL query stress simulator created by Adam Machanic http://dataeducation.com/sqlquerystress-the-source-code/
-
NetFabric.Hyperlinq
High performance LINQ implementation with minimal heap allocations. Supports enumerables, async enumerables, arrays and Span<T>.
-
CrossPlatformDiskTest
Windows, macOS and Android storage (HDD, SSD, RAM) speed testing/performance benchmarking app
-
-
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-...
-
Microsoft-Performance-Tools-Linux-Android
Linux, Android and Chromium Performance Tools built using the Microsoft Performance Toolkit. Cross-platform .NET Core + WPA GUI
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# Performance discussion
C# Performance related posts
-
Optick: C++ Profiler for Games
-
FusionCache v2.1 – Production-ready implementation of Microsoft HybridCache
-
FusionCache v2.0
-
Profile Explorer is a tool for viewing CPU profiling traces
-
FusionCache: A Net Cache Implementation
-
FusionCache Is Now v1.0
-
Entitas VS Friflo.Json.Fliox - a user suggested alternative
2 projects | 30 Jan 2024 -
A note from our sponsor - InfluxDB
influxdata.com | 28 Apr 2025
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 |