C# Performance

Open-source C# projects categorized as Performance

Top 23 C# Performance Projects

  • BenchmarkDotNet

    Powerful .NET library for benchmarking

    Project mention: Stop Guessing, Start Measuring: Transform Your Code with BenchmarkDotnet! | dev.to | 2024-02-13

    Let’s look at the first example you see, when you open up BenchmarkDotnet’s website, or Github page.

  • Entitas

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

    Project mention: Entitas VS Friflo.Json.Fliox - a user suggested alternative | libhunt.com/r/Entitas | 2024-01-30
  • 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.

  • Project mention: Added Physics to my enemies - Unity DOTS. Pretty happy with the result! Time to tweak | /r/Unity3D | 2023-05-25

    Sure. This is the repo. It contains more than Physics

  • perfview

    PerfView is a CPU and memory performance-analysis tool

    Project mention: Microsoft's perfview - Do you care about this tool? | /r/microsoft | 2023-06-13

    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).

  • optick

    C++ Profiler For Games

    Project mention: What is your favourite profiling tool for C++? | /r/cpp | 2023-06-29

    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.

  • 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: ILGPU VS ComputeSharp - a user suggested alternative | libhunt.com/r/ILGPU | 2023-10-27
  • 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

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

  • 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#

    Project mention: Caching in .NET | dev.to | 2023-05-08

    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.

  • PowerUp

    ⚡ Decompilation Tools and High Productivity Utilities ⚡

  • FusionCache

    FusionCache is an easy to use, fast and robust cache with advanced resiliency features and an optional distributed 2nd level.

    Project mention: Caching as a cross cutting concern using MediatR's pipeline behavior | /r/dotnet | 2023-12-06

    I wrote an internal nuget package for our team that does similar stuff to your work, although I called mine ICachedRequest. Unlike you I denied myself the enjoyment of exploring a custom caching solution and ended up injecting FusionCache into my mediatr behavior.

  • 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.

    Project mention: Is there a better way to do Sockets? | /r/dotnet | 2023-06-06
  • DryIoc

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

  • SqlQueryStress

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

    Project mention: Security logs for splunk dataset | /r/cybersecurity | 2023-04-08

    Sample Log Generator: This tool generates synthetic logs that you can customize to fit your needs. While not real-world data, it can be useful for testing specific scenarios or queries: https://github.com/ErikEJ/SqlQueryStress

  • NetFabric.Hyperlinq

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

    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.

  • Latios-Framework

    A Unity DOTS framework for my personal projects

  • 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.

    Project mention: dotween VS PrimeTween - a user suggested alternative | libhunt.com/r/dotween | 2023-09-28

    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.

  • CrossPlatformDiskTest

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

    Project mention: Random speed drop in external nvme | /r/mac | 2023-05-11
  • Microsoft-Performance-Tools-Linux-Android

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

  • RecordParser

    Zero Allocation Writer/Reader Parser for .NET Core

  • d2dlib

    A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.

    Project mention: Alternative to SharpDX for 2D rendering? | /r/csharp | 2023-04-18
  • SimpleSIMD

    Easy to use SIMD accelerated Array and Span methods

  • WorkOS

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

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). The latest post mention was on 2024-02-13.

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 9,867
2 Entitas 6,800
3 EntityComponentSystemSamples 6,572
4 perfview 3,904
5 optick 2,833
6 ComputeSharp 2,495
7 NetCoreServer 2,318
8 App.Metrics 2,198
9 Lazy Cache 1,685
10 PowerUp 1,594
11 FusionCache 1,092
12 FastExpressionCompiler 1,079
13 BedrockFramework 1,014
14 DryIoc 950
15 SqlQueryStress 871
16 NetFabric.Hyperlinq 858
17 Latios-Framework 741
18 PrimeTween 542
19 CrossPlatformDiskTest 439
20 Microsoft-Performance-Tools-Linux-Android 310
21 RecordParser 261
22 d2dlib 222
23 SimpleSIMD 90
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com