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.

    InfluxDB 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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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

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

  • Project mention: Eli Bendersky: Faster XML Stream Processing in Go | news.ycombinator.com | 2024-05-07

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

  • 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

  • FusionCache Is Now v1.0

    1 project | news.ycombinator.com | 17 Mar 2024
  • 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

    3 projects | news.ycombinator.com | 12 Jan 2024
  • Caching as a cross cutting concern using MediatR's pipeline behavior

    1 project | /r/dotnet | 6 Dec 2023
  • Microsoft's perfview - Do you care about this tool?

    1 project | /r/microsoft | 13 Jun 2023
  • Is there a better way to do Sockets?

    3 projects | /r/dotnet | 6 Jun 2023
  • Random speed drop in external nvme

    1 project | /r/mac | 11 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 9 May 2024
    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 →

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