Welcome to DotnetBenchmarks.com

This site gets better every time you submit a new benchmark or comment on existing ones.

All benchmarks

Title Version(s) Tag(s) Date Added (UTC) Comments Stars
AsSpan over Substring .NET 8
#Strings
23 Jun 2024 @ 22:12
Object Pool Benchmark Results .NET 8
#.Net8PerfImprovement
#DBOperations
#FileIO
#ObjectMapping
#StringBuilder
21 May 2024 @ 18:25
Understanding Class Performance in C# .NET 8
20 May 2024 @ 13:08
EF core 8: Bulk Delete comparison, ExecuteDelete() Vs Remove+SaveChanges() .NET 8
#EntityFramework
20 May 2024 @ 07:51
The benchmarks various LINQ and PLINQ methods for analyzing potentially fraudulent transactions in different dataset sizes. .NET 8
#PLINQ
14 May 2024 @ 05:40
Performance Comparison between Regular Expressions vs Custom Parser in .NET 8 .NET 8
#Regex
11 May 2024 @ 19:14 1 1
Performance comparison, AsSpan() vs Substring() .NET 8
#StringManipulation
#Strings
08 May 2024 @ 15:17 1
EF Core 8: Use Any() over Count(*) .NET 8
#Collections
#LINQ
#SQL
08 May 2024 @ 03:50 3
Comparative Performance Evaluation of List-Based Age Summation Techniques in C# .NET 8
#Collections
07 May 2024 @ 13:50 1
HigLabo.Mapper performance test .NET 8
06 May 2024 @ 04:15 3
Entity Framework 8 AsSplitQuery benchmark .NET 8
#DBOperations
#EntityFramework
05 May 2024 @ 15:30 1
Benchmarking C# Serializers .NET 8
#(De)Serialization
#Compression
#Reflection
03 May 2024 @ 14:19 2 2
Entity Framework 8 raw unmapped types v Dapper .NET 8
#Dapper
#DBOperations
#EntityFramework
03 May 2024 @ 00:55 4 3
Entity Framework 8 v Dapper for select * with 1000 records .NET 8
#DBOperations
#EntityFramework
#Dapper
03 May 2024 @ 00:30 1 3
EF Core 8.0 Tracking vs AsNoTracking vs AsNoTrackingWithIdentityResolution .NET 8
#EntityFramework
#ObjectMapping
02 May 2024 @ 16:53 4 3
Linq Aggregate Functions in .NET 8 & 9 .NET 8
.NET 9
#.Net8PerfImprovement
#.Net9PerfImprovement
01 May 2024 @ 10:16 2 2
This C# code defines benchmark tests to compare the performance of boxing (using a non-generic number class) versus non-boxing (using a generic number class) operations on numeric values. .NET 8
01 May 2024 @ 01:09 1 1
Frozen Collection in .NET 8 .NET 8
#.Net8PerfImprovement
#Collections
26 Apr 2024 @ 11:44 1
Overview of C# Performance Benchmarking Code .NET 8
#Collections
25 Apr 2024 @ 22:42
List: Count property is 60x faster than Count method .NET 8
#Collections
#LINQ
25 Apr 2024 @ 16:21
Slight .NET 9 improvement for System.Text.Json .NET 8
.NET 9
#.Net9PerfImprovement
25 Apr 2024 @ 15:30 1
Object Creation Performance Analysis .NET 8
24 Apr 2024 @ 09:22 1 1
A Comparison about all C# For loops .NET 6
.NET 8
.NET 9
#.Net8PerfImprovement
#.Net9PerfImprovement
23 Apr 2024 @ 15:58 2 3
Special case GetEnumerator for empty collections in .NET 8 v .NET 7 benchmarks .NET 7
.NET 8
#.Net8PerfImprovement
#Collections
15 Apr 2024 @ 21:38
.NET 8 new SearchValues for counting line endings benchmarks .NET 8
#.Net8PerfImprovement
#Strings
15 Apr 2024 @ 21:01 1
StringBuilder.Replace performance improvements in .NET 8 v .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
#StringBuilder
15 Apr 2024 @ 20:32 1
String.Replace .NET 8 v .NET 7 performance benchmarks .NET 7
.NET 8
#.Net8PerfImprovement
#StringManipulation
15 Apr 2024 @ 20:13
Random Next .NET 8 performance improvements over .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
15 Apr 2024 @ 20:04
GUID TryFormat() .NET 8 performance improvements compared to .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
15 Apr 2024 @ 19:59
DateTimeOffset.ParseExact .NET 8 performance improvements .NET 7
.NET 8
#.Net8PerfImprovement
15 Apr 2024 @ 19:45
Int32.ToString() performance improvements in .NET 8 .NET 7
.NET 8
#.Net8PerfImprovement
15 Apr 2024 @ 19:30
Enum performance improvements in .NET 8 compared to .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
#Enums
15 Apr 2024 @ 19:07 1
Reflection Invoke performance improvements .NET 6 v .NET 7 v .NET 8 benchmarks .NET 6
.NET 7
.NET 8
#.Net7PerfImprovement
#.Net8PerfImprovement
#Reflection
15 Apr 2024 @ 18:53
GetGenericTypeDefinition reflection .NET 8 performance improvement .NET 7
.NET 8
#.Net8PerfImprovement
#Reflection
15 Apr 2024 @ 18:37 1
Reflection GetCustomAttributes performance improvement in .NET 8 compared to .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
#Reflection
15 Apr 2024 @ 18:30
DateTime.Now v DateTime.UtcNow benchmark .NET 8
15 Apr 2024 @ 00:52
Summing an integer array directly, with ArraySegment v using Span .NET 8
#Span<T>
15 Apr 2024 @ 00:24
Regular v Compiled v Source Generated regex for validating SSI numbers in .NET 8 .NET 8
#Regex
#SourceGenerators
15 Apr 2024 @ 00:10
Summing array of integers with SIMD v non-SIMD approach .NET 8
#SIMD
14 Apr 2024 @ 23:52
Benchmarking different Entity Framework batch sizes with the SQL Server provider .NET 8
#DBOperations
#EntityFramework
14 Apr 2024 @ 23:29
Entity Framework 7 insert performance improvement versus EF 6 benchmark .NET 8
#DBOperations
#EntityFramework
14 Apr 2024 @ 23:09 1
Entity Framework inheritance modelling, TPH v TPT v TPC with EF 8 on .NET 8 .NET 8
#DBOperations
#EntityFramework
14 Apr 2024 @ 22:02 1
Exception handling performance improvements in .NET 9 (Preview 3+) versus .NET 8 .NET 8
.NET 9
#.Net9PerfImprovement
13 Apr 2024 @ 00:33 2
Entity Framework Bulk Update, normal update, plain SQL and ADO.NET plain SQL benchmark on EF 8 .NET 8
#DBOperations
#EntityFramework
11 Apr 2024 @ 01:45 1
Reflection benchmarks on .NET 6 v .NET 7 v .NET 8 .NET 6
.NET 7
.NET 8
#.Net7PerfImprovement
#Reflection
11 Apr 2024 @ 00:08 1
LINQ Min, Max, Sum and Average performance improvements for .NET 6 v .NET 7 v .NET 8 .NET 6
.NET 7
.NET 8
#LINQ
#.Net7PerfImprovement
10 Apr 2024 @ 23:55
Concat 50K one char strings with + and StringBuilder in .NET 8 .NET 8
#StringBuilder
#StringConcatenation
#Strings
10 Apr 2024 @ 23:38 1
string.Equals with OrdinalIgnoreCase performance boost from .NET 7 to .NET 8 .NET 7
.NET 8
#StringComparison
#Strings
10 Apr 2024 @ 23:26 1
.NET 9 String.Contains("X") performance improvement .NET 8
.NET 9
#.Net9PerfImprovement
#StringComparison
#Strings
08 Apr 2024 @ 02:44
Benchmarking different ways of calculating average of a column in Entity Framework 8 .NET 8
#DBOperations
#EntityFramework
08 Apr 2024 @ 02:33
LINQ Sum() performance improvements in .NET8 due to Vectorization .NET 7
.NET 8
#.Net8PerfImprovement
#Collections
#LINQ
#Vectorization
08 Apr 2024 @ 02:16
Enumerable.Range(0, X).ToList() performance improvements in .NET 8 .NET 7
.NET 8
#.Net8PerfImprovement
#Collections
#LINQ
08 Apr 2024 @ 02:06
AddRange() .NET 8 performance improvements with and without Dynamic Profile Guided Optimization (PGO) .NET 7
.NET 8
#.Net8PerfImprovement
#Collections
#Dynamic PGO
08 Apr 2024 @ 01:51
String.Replace performance improvements in .NET 7 v .NET 6 .NET 6
.NET 7
#.Net7PerfImprovement
#StringManipulation
#Strings
08 Apr 2024 @ 01:32
StartsWith with StringComparison.OrdinalIgnoreCase versus ToUpper on .NET 8 .NET 8
#StringComparison
#Strings
08 Apr 2024 @ 01:08 1
IndexOf("x") v IndexOf('x') in .NET 8 .NET 8
#StringComparison
#Strings
08 Apr 2024 @ 00:55
IndexOf versus StartsWith on .NET 8 .NET 8
#StringComparison
#Strings
08 Apr 2024 @ 00:47 1
Regex .NET 8 v .NET 7 performance improvement .NET 7
.NET 8
#Regex
#SourceGenerators
08 Apr 2024 @ 00:28
IValidateOptions<TOptions> source generator new in .NET 8 versus existing reflection approach .NET 8
#.Net8PerfImprovement
#Configuration
#SourceGenerators
08 Apr 2024 @ 00:03
LoggerFactory.CreateLogger performance improvements in .NET 8 v .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
#Logging
07 Apr 2024 @ 23:00
Cryptography performance improvements on Windows in .NET 8 v .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
#Cryptography
07 Apr 2024 @ 22:21
JsonSerializer.Serialize/SerializeAsync performance improvements in .NET 8 v .NET 7 .NET 7
.NET 8
#(De)Serialization
#.Net8PerfImprovement
07 Apr 2024 @ 21:56
Environment.GetFolderPath performance improvement on .NET 8 v .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
#FileIO
07 Apr 2024 @ 21:34
Path.GetFileName performance improvements in .NET 8 versus .NET 7 .NET 7
.NET 8
#.Net8PerfImprovement
#FileIO
07 Apr 2024 @ 21:23
Entity Framework Tracking v No Tracking queries with EF 8 on .NET 8 .NET 8
#EntityFramework
07 Apr 2024 @ 20:59 1 1
Entity Framework compiled queries with EF 8.0.3 and .NET 8 .NET 8
#EntityFramework
07 Apr 2024 @ 20:18
Entity Framework DbContext with pooling v without pooling with EF 8 on .NET 8 .NET 8
#EntityFramework
07 Apr 2024 @ 20:06
FrozenDictionary (new in .NET 8) v other dictionaries .NET 8
#.Net8PerfImprovement
#Collections
05 Apr 2024 @ 05:30
StringBuilder Append performance improvement for constants in .NET 8 (versus .NET 7) .NET 7
.NET 8
#.Net8PerfImprovement
#StringBuilder
#StringConcatenation
05 Apr 2024 @ 04:59
StringBuilder with and without initial capacity - .NET 8 .NET 8
#StringBuilder
#StringConcatenation
05 Apr 2024 @ 04:34
Simple string concatenation for small amounts of strings in .NET 8 .NET 8
#StringConcatenation
#Strings
05 Apr 2024 @ 04:17
string.Equals v string.Compare v ToLower/Upper for case insensitive string comparison on .NET 8 .NET 8
#StringComparison
#Strings
05 Apr 2024 @ 03:57 1
Creating lists with regular v collection expression approach in .NET 8 .NET 8
#Collections
05 Apr 2024 @ 03:44