Skip to content

Commit 98f4a09

Browse files
amiqatCopilot
andauthored
Update benchmarks for .NET 8 and .NET 10 with consolidated results (#3)
* Initial plan * Update benchmark project to target net8.0 and net10.0, add Net10_0 SimpleJob to all benchmarks, update Microsoft.NET.Test.Sdk to 18.3.0 Co-authored-by: amiqat <9958000+amiqat@users.noreply.github.com> * Upgrade xunit to v3 (3.2.2), update Microsoft.NET.Test.Sdk to 18.3.0, remove net472 benchmark docs Co-authored-by: amiqat <9958000+amiqat@users.noreply.github.com> * Add List_Add benchmark results (SVG, md, csv) for .NET 8 and .NET 10, update README Co-authored-by: amiqat <9958000+amiqat@users.noreply.github.com> * Move main benchmark results (csv, md) to docs, remove BenchmarkDotNet.Artifacts, fix .gitignore Co-authored-by: amiqat <9958000+amiqat@users.noreply.github.com> * Regenerate SVGs showing both time and memory (matching old style), update README references Co-authored-by: amiqat <9958000+amiqat@users.noreply.github.com> * Remove trailing whitespace from SVG image links in README.md Co-authored-by: amiqat <9958000+amiqat@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: amiqat <9958000+amiqat@users.noreply.github.com>
1 parent ac16b60 commit 98f4a09

224 files changed

Lines changed: 635 additions & 2355 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,5 @@ paket-files/
259259
# Python Tools for Visual Studio (PTVS)
260260
__pycache__/
261261
*.pyc
262+
BenchmarkDotNet.Artifacts/
262263
*/BenchmarkDotNet.Artifacts/

Collections.Pooled.Benchmarks/Collections.Pooled.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
66
<LangVersion>Latest</LangVersion>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
88
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>

Collections.Pooled.Benchmarks/PooledDictionary/Dict.Add.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Collections.Pooled.Benchmarks.PooledDictionary
77
{
88
[SimpleJob(RuntimeMoniker.Net80)]
9+
[SimpleJob(RuntimeMoniker.Net10_0)]
910
[MemoryDiagnoser]
1011
public class Dict_Add : DictBase
1112
{

Collections.Pooled.Benchmarks/PooledDictionary/Dict.Constructors.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Collections.Pooled.Benchmarks.PooledDictionary
77
{
88
[SimpleJob(RuntimeMoniker.Net80)]
9+
[SimpleJob(RuntimeMoniker.Net10_0)]
910
[MemoryDiagnoser]
1011
public class Dict_Constructors : DictBase
1112
{

Collections.Pooled.Benchmarks/PooledDictionary/Dict.ContainsKey_Int_False.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Collections.Pooled.Benchmarks.PooledDictionary
77
{
88
[SimpleJob(RuntimeMoniker.Net80)]
9+
[SimpleJob(RuntimeMoniker.Net10_0)]
910
public class Dict_ContainsKey_Int_False : DictContainsBase<int>
1011
{
1112
[Benchmark(Baseline = true)]

Collections.Pooled.Benchmarks/PooledDictionary/Dict.ContainsKey_Int_True.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Collections.Pooled.Benchmarks.PooledDictionary
77
{
88
[SimpleJob(RuntimeMoniker.Net80)]
9+
[SimpleJob(RuntimeMoniker.Net10_0)]
910
public class Dict_ContainsKey_Int_True : DictContainsBase<int>
1011
{
1112
[Benchmark(Baseline = true)]

Collections.Pooled.Benchmarks/PooledDictionary/Dict.ContainsKey_String_False.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Collections.Pooled.Benchmarks.PooledDictionary
77
{
88
[SimpleJob(RuntimeMoniker.Net80)]
9+
[SimpleJob(RuntimeMoniker.Net10_0)]
910
public class Dict_ContainsKey_String_False : DictContainsBase<string>
1011
{
1112
[Benchmark(Baseline = true)]

Collections.Pooled.Benchmarks/PooledDictionary/Dict.ContainsKey_String_False_IgnoreCase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Collections.Pooled.Benchmarks.PooledDictionary
77
{
88
[SimpleJob(RuntimeMoniker.Net80)]
9+
[SimpleJob(RuntimeMoniker.Net10_0)]
910
public class Dict_ContainsKey_String_False_IgnoreCase : DictContainsBase<string>
1011
{
1112
[Benchmark(Baseline = true)]

Collections.Pooled.Benchmarks/PooledDictionary/Dict.ContainsKey_String_True.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace Collections.Pooled.Benchmarks.PooledDictionary
88
{
99
[SimpleJob(RuntimeMoniker.Net80)]
10+
[SimpleJob(RuntimeMoniker.Net10_0)]
1011
public class Dict_ContainsKey_String_True : DictContainsBase<string>
1112
{
1213
[Benchmark(Baseline = true)]

Collections.Pooled.Benchmarks/PooledDictionary/Dict.ContainsValue_Int_False.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Collections.Pooled.Benchmarks.PooledDictionary
77
{
88
[SimpleJob(RuntimeMoniker.Net80)]
9+
[SimpleJob(RuntimeMoniker.Net10_0)]
910
public class Dict_ContainsValue_Int_False : DictContainsBase<int>
1011
{
1112
[Benchmark(Baseline = true)]

0 commit comments

Comments
 (0)