SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C# Performance Projects
-
Entitas
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
-
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.
-
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
-
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.
-
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. (by nietras)
-
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
Leverage Frameworks and Libraries: Numerous libraries and frameworks are available for .NET that can simplify caching implementation and management. Examples include CacheManager, EasyCaching, and LazyCache. Evaluate these options to see if they meet your requirements and can help streamline your caching strategy.
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.
If you ever need to parse CSV really fast and happen to know C#, there is an incredible vectorized parser for that: https://github.com/nietras/Sep/
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 - SaaSHub
www.saashub.com | 25 Apr 2024
Index
What are some of the best open-source Performance projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | BenchmarkDotNet | 10,019 |
2 | Entitas | 6,895 |
3 | EntityComponentSystemSamples | 6,821 |
4 | perfview | 3,972 |
5 | optick | 2,859 |
6 | ComputeSharp | 2,537 |
7 | NetCoreServer | 2,475 |
8 | App.Metrics | 2,205 |
9 | Lazy Cache | 1,690 |
10 | PowerUp | 1,601 |
11 | FusionCache | 1,285 |
12 | FastExpressionCompiler | 1,104 |
13 | BedrockFramework | 1,024 |
14 | DryIoc | 963 |
15 | SqlQueryStress | 887 |
16 | NetFabric.Hyperlinq | 858 |
17 | Latios-Framework | 791 |
18 | PrimeTween | 650 |
19 | Sep | 620 |
20 | CrossPlatformDiskTest | 452 |
21 | Microsoft-Performance-Tools-Linux-Android | 311 |
22 | RecordParser | 271 |
23 | d2dlib | 226 |
Sponsored