CsharpMacros
BenchmarkDotNet
Our great sponsors
CsharpMacros | BenchmarkDotNet | |
---|---|---|
0 | 26 | |
50 | 7,810 | |
- | 2.9% | |
0.0 | 8.8 | |
over 1 year ago | 5 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CsharpMacros
We haven't tracked posts mentioning CsharpMacros yet.
Tracking mentions began in Dec 2020.
BenchmarkDotNet
-
Benchmarking to the Bottom — Iterating Arrays in .NET
Finding the fastest way to iterate arrays while accessing their value in .NET using BenchmarkDotNet validate performance at scale.
-
Simplest possible way of measuring method execution times
Try https://benchmarkdotnet.org
-
How expensive is accessing fields within classes vs keeping a copy of this field inside a local variable?
The answer to "can I just use XX without a hit in performance" is always "measure it and find out", with some generalisations thrown in for good measure. Have a look at https://benchmarkdotnet.org/ it shouldn't be too much of a hassle to throw together a quick test. You can even make a separate "benchmark project" where you have .net benchmark setup and can always write a quick test when an interesting thing comes up.
-
Docker multi-architecture, .NET 6.0 and OpenCVSharp
In order to test compatibility with the target devices / platforms, a basic benchmark application has been built using BenchmarkDotNet
- Is there a performance difference if you use a variable in a foreach
-
Benchmarking Your Way to the Bottom — Iterating Lists
A brief post about BenchmarkDotNet to test List iteration in .NET to find the most performant List iterator.
-
Don't use String.ToLower() in C# when comparing strings
I've used BenchmarkDotNet to run my test and enable the MemoryDiagnoser to also anaylse memory usage/allocations.
-
Benchmarking Your Way to the Bottom - Iterating Lists
Using BenchmarkDotNet in a simple .NET 6 console application, I built a way to test iterating through a List of strings 10,000 deep over and over again to discover the fastest way to do it going forwards.
-
How to turn off garbage collection while method executing?
Have you considered simply using http://benchmarkdotnet.org/ as your harness?
-
Customized For Loop runs orders of magnitudes faster than default?
Please don't reinvent the wheel, use BenchmarkDotNet before you start worrying about things like cache locality.
What are some alternatives?
App.Metrics - App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
CodeMaid - CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
Metrics-Net - The Metrics.NET library provides a way of instrumenting applications with custom metrics (timers, histograms, counters etc) that can be reported in various ways and can provide insights on what is happening inside a running application.
StyleCop - Analyzes C# source code to enforce a set of style and consistency rules.
Bogus - :card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
.NET Compiler Platform ("Roslyn") Analyzers
AspNet.Metrics - No longer maintained, instead see - https://github.com/alhardy/AppMetrics/
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Gendarme - Gendarme is a extensible rule-based tool to find problems in .NET applications and libraries. Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .NET) and looks for common problems with the code, problems that compiler do not typically check or have not historically checked.
SharpLab - .NET language playground
NsDepCop - NsDepCop is a static code analysis tool that helps to enforce namespace dependency rules in C# projects. No more unplanned or unnoticed dependencies in your system.