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. Learn more →
Top 23 C# Performance Projects
-
Entitas
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
-
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.
-
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! 🚀
-
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
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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#
-
FusionCache
FusionCache is an easy to use, fast and robust cache with advanced resiliency features and an optional distributed 2nd level.
-
FastExpressionCompiler
Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expressions.
-
BedrockFramework
High performance, low level networking APIs for building custom servers and clients.
-
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>.
-
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.
-
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.
-
CrossPlatformDiskTest
Windows, macOS and Android storage (HDD, SSD, RAM) speed testing/performance benchmarking app
-
Microsoft-Performance-Tools-Linux-Android
Linux, Android and Chromium Performance Tools built using the Microsoft Performance Toolkit. Cross-platform .NET Core + WPA GUI
-
d2dlib
A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Stop Guessing, Start Measuring: Transform Your Code with BenchmarkDotnet! | dev.to | 2024-02-13Let’s look at the first example you see, when you open up BenchmarkDotnet’s website, or Github page.
Project mention: Entitas VS Friflo.Json.Fliox - a user suggested alternative | libhunt.com/r/Entitas | 2024-01-30
Project mention: Added Physics to my enemies - Unity DOTS. Pretty happy with the result! Time to tweak | /r/Unity3D | 2023-05-25Sure. This is the repo. It contains more than Physics
It is fascinating to see so many distributed nugets of software lying around for specific use cases. One of them is perfview by Microsoft (https://github.com/microsoft/perfview).
Does anyone here have experience with Optick: https://github.com/bombomby/optick ? It looks great but I haven't got the chance to try it. Was wondering how it compares to the other tools listed here.
Project mention: ILGPU VS ComputeSharp - a user suggested alternative | libhunt.com/r/ILGPU | 2023-10-27
Want an easy to use cache with advanced resiliency features? Look no further than FusionCache. It's built for performance, good refresh rates, better auto-setup, better logs, and more. Congrats to the team on shipping your first major and stable version 🎉 and receiving over 3.8 million downloads.
Project mention: Classes vs. Structs in .NET. How not to teach about performance | news.ycombinator.com | 2023-11-04> AVX instructions, which is implemented for quite a few LINQ methods
Are you sure? Any examples of such methods? And does AVX actually helps?
I don’t think that’s possible because IMO AVX and other SIMD can only help for dense inputs. The C# type is ReadOnlySpan, however ReadOnlySpan doesn’t implement IEnumerable and therefore incompatible with LINQ.
There’s even an alternative LINQ to workaround https://github.com/NetFabric/NetFabric.Hyperlinq but that thing is a third-party library most people aren’t using.
Project mention: dotween VS PrimeTween - a user suggested alternative | libhunt.com/r/dotween | 2023-09-28PrimeTween 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.
Project mention: Eli Bendersky: Faster XML Stream Processing in Go | news.ycombinator.com | 2024-05-07Pretty sure the C performance would have been trivially matched by C# were it to be ported there.
While not XML (which does not see much love from the community to surprise of HN), gigabytes per second of parsing throughput are reached for CSV without sacrificing UX: https://github.com/nietras/Sep?tab=readme-ov-file#packageass...
C# Performance related posts
-
FusionCache Is Now v1.0
-
Entitas VS Friflo.Json.Fliox - a user suggested alternative
2 projects | 30 Jan 2024 -
There has never been a better time to game on Linux
-
Caching as a cross cutting concern using MediatR's pipeline behavior
-
Microsoft's perfview - Do you care about this tool?
-
Is there a better way to do Sockets?
-
Random speed drop in external nvme
-
A note from our sponsor - InfluxDB
www.influxdata.com | 9 May 2024
Index
What are some of the best open-source Performance projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | BenchmarkDotNet | 10,056 |
2 | Entitas | 6,911 |
3 | EntityComponentSystemSamples | 6,847 |
4 | perfview | 3,985 |
5 | optick | 2,860 |
6 | ComputeSharp | 2,549 |
7 | NetCoreServer | 2,488 |
8 | App.Metrics | 2,209 |
9 | Lazy Cache | 1,696 |
10 | PowerUp | 1,607 |
11 | FusionCache | 1,320 |
12 | FastExpressionCompiler | 1,108 |
13 | BedrockFramework | 1,025 |
14 | DryIoc | 966 |
15 | SqlQueryStress | 887 |
16 | NetFabric.Hyperlinq | 860 |
17 | Latios-Framework | 801 |
18 | PrimeTween | 665 |
19 | Sep | 639 |
20 | CrossPlatformDiskTest | 461 |
21 | Microsoft-Performance-Tools-Linux-Android | 312 |
22 | RecordParser | 270 |
23 | d2dlib | 229 |
Sponsored