C# Benchmark

Open-source C# projects categorized as Benchmark

Top 12 C# Benchmark Projects

  • BenchmarkDotNet

    Powerful .NET library for benchmarking

    Project mention: C#: Does Visual Studio 2022 offer a way to profile which function(s) are taking the most time during execution? | reddit.com/r/csharp | 2023-02-01

    It's common to use Benchmark DotNet for "micro benchmarking" i.e. timing small isolated bits of code like it's a unit test.

  • Primes

    Prime Number Projects in C#/C++/Python

    Project mention: We wouldn’t even consider writing back-end code for a website CMS in anything other than C, and we certainly wouldn’t use any of the interpreted languages that have sprung up in the last couple of decades and positioned themselves as the de facto go-to standards for web development. | reddit.com/r/programmingcirclejerk | 2023-02-01

    Compiler WTF??? Can't you just use xxd to turn a hexdump into a binary like a real programmer would do?!?

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • FastExpressionCompiler

    Fast Compiler for C# Expression Trees and more!

  • IocPerformance

    Performance comparison of .NET IoC containers

    Project mention: Dependency Injection - Microsoft.Extensions.Hosting vs Microsoft.Extensions.DependencyInjection | reddit.com/r/dotnet | 2022-02-22
  • Programming-Language-Benchmarks

    Yet another implementation of computer language benchmarks game

    Project mention: Speed Comparisons: JavaScript vs Python vs C vs Rust | reddit.com/r/ProgrammerHumor | 2023-02-05

    There is not "one real" benchmark. In the end, all you can do is test languages for a specific feature / purpose. You can see how many different suggestions people have here, and here (I think) you can see the difficulties of comparing languages. That site uses quite a lot of algorithms / problems with multiple inputs, single and multithreaded, with different optimization flags (where applicable) and so on paired with different languages, and it's a mess. Sometimes one language is on top, sometimes another. (I mean, python will very rarely beat pure C, but I wont rule out that someone already created an edge case just to refute exactly this point)

  • CrossPlatformDiskTest

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

  • rust-zero-cost-abstractions

    Testing out a Zero Cost Abstraction in Rust compared to similar approaches in C# and Java

    Project mention: Formally Verifying Rust's Opaque Types | news.ycombinator.com | 2022-08-01

    Your "run-time" code with iterators vs with a hand made for loop tends to result in the same set of instructions. Often the iterator usage will also enable optimizations that make the loop faster.

    * https://github.com/mike-barber/rust-zero-cost-abstractions

    * https://carette.xyz/posts/zero_cost_abstraction/

    * https://ruudvanasseldonk.com/2016/11/30/zero-cost-abstractio...

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Unchase.FluentPerformanceMeter

    :hammer: Make the exact performance measurements of the public methods for public classes using this NuGet Package with fluent interface. Requires .Net Standard 2.0+. It is an Open Source project under Apache-2.0 License.

  • IMLCGui

    Intel Memory Latency Checker GUI

    Project mention: Trying to figure out secondary/other timings. Hynix MJR 2x 32GB | reddit.com/r/overclocking | 2023-01-29

    Use this to benchmark https://github.com/FarisR99/IMLCGui

  • BenchPlayground

    A set of benchmarks used to decide between implementations

  • MicroBenchmarksDotNet

    C# Benchmarks for a better understanding of performance cost

  • AsyncAwaitBenchmark

    Do we have to await every single async method?

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 2023-02-05.

C# Benchmark related posts


What are some of the best open-source Benchmark projects in C#? This list will help you:

Project Stars
1 BenchmarkDotNet 8,662
2 Primes 1,959
3 FastExpressionCompiler 937
4 IocPerformance 820
5 Programming-Language-Benchmarks 343
6 CrossPlatformDiskTest 315
7 rust-zero-cost-abstractions 39
8 Unchase.FluentPerformanceMeter 36
9 IMLCGui 22
10 BenchPlayground 2
11 MicroBenchmarksDotNet 1
12 AsyncAwaitBenchmark 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives