How to add custom columns to BenchmarkDotNet summaries
This guide shows how to add custom result columns to BenchmarkDotNet summaries using in-process diagnosers and a source generator library.
This guide shows how to add custom result columns to BenchmarkDotNet summaries using in-process diagnosers and a source generator library.
Learn how to run benchmarks from a single C# file using BenchmarkDotNet.
Learn how ConcurrentDictionary and MemoryCache can cause multiple identical requests under load, and discover how HybridCache solves this problem.
How to quickly and efficiently load large data into SQL Server: comparing regular INSERT, SqlBulkCopy with DataTable, and IDataReader.
Analysis of CA1830 code quality rule and its impact on application performance
Analysis of CA1826 code quality rule and its impact on application performance
How to use xxHash in C# for fast, stable hash computation without allocations
Short guide to CA2254, why logging can degrade performance, and how LoggerMessageAttribute helps.
A deep dive into performance and internal implementation details of Object Pool pattern in C#
A deep dive into performance and internal implementation details of FrozenDictionary in .NET 8
A short experiment on how array initialization methods impact performance
Common mistakes in writing benchmarks in C# and how to fix them
A performance and applicability comparison of seven different ways to create arrays in C#
An analysis of the optimized modulo calculation algorithm used in FrozenDictionary, compared to the classic approach
Optimizing Dictionary performance in C# using structs and CollectionsMarshal
Detailed exploration of the performance differences between C# structures and classes
A performance comparison between ReadOnlySpan<T> and string operations in C#
A performance comparison of different substring extraction methods in C#
Investigating performance issues when passing a method as a parameter in C#
A performance comparison of different EF mapping strategies in SQL Server