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

    WorkOS logo
  • 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

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

    InfluxDB logo
  • 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: Release Radar • March 2024 Edition | dev.to | 2024-04-07

    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.

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

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

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

  • Project mention: Friends don't let friends export to CSV | news.ycombinator.com | 2024-03-25

    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/

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

  • 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 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,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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com