Our great sponsors
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- SonarQube - Static code analysis for 29 languages.
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- InfluxDB - Access the most powerful time series database as a service
|almost 4 years ago||5 days ago|
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.
We haven't tracked posts mentioning Beat Pulse yet.
Tracking mentions began in Dec 2020.
Exploring Code Performance Testing in C# with BenchmarkDotNet
3 projects | dev.to | 19 May 2023
BenchmarkDotNet is a popular open-source library that, as stated in the repo's README.md, helps us to transform methods into benchmarks, track their performance, and share reproducible measurement experiments. Using BenchmarkDotNet feels similar to writing unit tests. It's very important to note that the library only works with console apps. Finally, we can visualize the results in the terminal where the benchmark ran or in user-friendly formats such as markdown, HTML and CSV. We will explore examples of there formats later in the article.3 projects | dev.to | 19 May 2023
You can read further about BenchmarkDotNet here : Official documentation GitHub repo Adam Sitnik's blog Adam is one of the maintainers of the library and his blogs are pretty cool. Wojciech Nagórski's blog Wojciech is a contributor to BenchmarkDotNet and has a lot of cool articles about the library as well!
Iterator Benchmarks That Shocked With Unexpected Results!
2 projects | dev.to | 4 Apr 2023
We’re of course going to be using BenchmarkDotNet for our benchmarks, and you can find all of the code for these over at GitHub. To start, we need an entry point hook for our single Benchmark class that will be defining the permutations of scenarios that we’d like to run. This will be relatively basic as follows:
What your hidden nuget gems ?
32 projects | reddit.com/r/dotnet | 10 Mar 2023
Benchmark.NET - ridiculously simple and powerful on the fly benchmarking of any .NET method: https://github.com/dotnet/BenchmarkDotNet
4 projects | reddit.com/r/csharp | 9 Feb 2023
Finally, it's probably worth getting familiar with profilers (VS's builtin is fine) and tools such as benchmark.net and sharplab.io.
C#: Does Visual Studio 2022 offer a way to profile which function(s) are taking the most time during execution?
2 projects | reddit.com/r/csharp | 1 Feb 2023
It's common to use Benchmark DotNet for "micro benchmarking" i.e. timing small isolated bits of code like it's a unit test.
Usefully links for DotNet Backend Developers
13 projects | dev.to | 2 Jan 2023
Benchmark DotNet https://benchmarkdotnet.org/
Optimizing GUID Generation Step by Step
2 projects | dev.to | 8 Dec 2022
Well, we just finished our journey. We started our journey with a piece of code which took 213ms and finished with a code which took 28ms We have made it about 10X Faster!. Here are the final results using BenchmarkDotNet:
List in C#: implementation and features
2 projects | dev.to | 12 Oct 2022
After rewriting the code given in the book and testing it with BenchmarkDotNet I got the following results:
Sorting in C#: OrderBy.OrderBy or OrderBy.ThenBy? What's more effective and why?
2 projects | dev.to | 20 Sep 2022
I used BenchmarkDotNet to track the performance.
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.
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.
.NET Compiler Platform ("Roslyn") Analyzers
AspNet.Metrics - No longer maintained, instead see - https://github.com/alhardy/AppMetrics/
Bogus - :card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
CsharpMacros - A simple template base system of macros for C# that can be executed in design time
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.