Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Perf] Windows/x64: 73 Improvements on 3/14/2024 8:52:16 AM #31429

Closed
performanceautofiler bot opened this issue Mar 19, 2024 · 2 comments
Closed

[Perf] Windows/x64: 73 Improvements on 3/14/2024 8:52:16 AM #31429

performanceautofiler bot opened this issue Mar 19, 2024 · 2 comments

Comments

@performanceautofiler
Copy link

performanceautofiler bot commented Mar 19, 2024

Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.ContainsTrue<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
1.32 ms 1.12 ms 0.85 0.02 False
31.09 μs 18.69 μs 0.60 0.03 True

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.ContainsTrue&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.ContainsTrue<String>.ImmutableList(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.ContainsTrue<String>.ImmutableHashSet(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Memory.Slice<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
7.15 ns 2.26 ns 0.32 0.02 True
7.83 ns 1.97 ns 0.25 0.00 True
7.59 ns 1.99 ns 0.26 0.01 True
6.34 ns 2.62 ns 0.41 0.01 True
3.50 ns 1.44 ns 0.41 0.00 True
3.36 ns 1.48 ns 0.44 0.00 True
2.96 ns 1.52 ns 0.52 0.00 True
6.47 ns 2.63 ns 0.41 0.00 True
4.53 ns 1.46 ns 0.32 0.01 True
6.72 ns 2.49 ns 0.37 0.01 True
7.33 ns 2.25 ns 0.31 0.00 True
4.13 ns 1.48 ns 0.36 0.07 True
4.35 ns 1.58 ns 0.36 0.27 True
6.56 ns 2.51 ns 0.38 0.02 True
4.94 ns 1.56 ns 0.32 0.02 True
2.82 ns 1.48 ns 0.52 0.00 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Memory.Slice&lt;String&gt;*'

Payloads

Baseline
Compare

System.Memory.Slice<String>.ReadOnlyMemoryStartSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.MemoryStartLengthSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.ReadOnlyMemoryStartLengthSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.ReadOnlyMemorySpanStart

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.SpanStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.ReadOnlySpanStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.SpanStart

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.MemorySpanStart

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.ReadOnlyMemoryStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.MemorySpanStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.MemoryStartSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.ReadOnlyMemoryStart

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.MemoryStart

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.ReadOnlyMemorySpanStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.MemoryStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Slice<String>.ReadOnlySpanStart

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.Sort<IntClass>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
57.20 μs 47.55 μs 0.83 0.01 True
56.60 μs 47.23 μs 0.83 0.00 True
46.99 μs 32.27 μs 0.69 0.28 False
44.91 μs 33.48 μs 0.75 0.12 True

graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.Sort&lt;IntClass&gt;*'

Payloads

Baseline
Compare

System.Collections.Sort<IntClass>.LinqQuery(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.Sort<IntClass>.LinqOrderByExtension(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.Sort<IntClass>.Array_Comparison(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.Sort<IntClass>.Array_ComparerClass(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.IterateForEach<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
2.45 μs 1.34 μs 0.55 0.07 True
1.65 μs 1.54 μs 0.93 0.19 False
1.73 μs 885.73 ns 0.51 0.21 True
9.97 μs 6.85 μs 0.69 0.05 True
4.07 μs 3.55 μs 0.87 0.34 False

graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.IterateForEach&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.IterateForEach<String>.Dictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.IterateForEach<String>.Queue(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.IterateForEach<String>.List(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.IterateForEach<String>.SortedDictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.IterateForEach<String>.SortedSet(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Text.Json.Serialization.Tests.WriteJson<ImmutableDictionary<String, String>>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
13.84 μs 11.43 μs 0.83 0.37 False
14.66 μs 13.56 μs 0.93 0.27 False
15.09 μs 12.55 μs 0.83 0.23 False
15.24 μs 13.09 μs 0.86 0.29 False

graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Text.Json.Serialization.Tests.WriteJson&lt;ImmutableDictionary&lt;String, String&gt;&gt;*'

Payloads

Baseline
Compare

System.Text.Json.Serialization.Tests.WriteJson<ImmutableDictionary<String, String>>.SerializeToWriter(Mode: SourceGen)

ETL Files

Histogram

JIT Disasms

System.Text.Json.Serialization.Tests.WriteJson<ImmutableDictionary<String, String>>.SerializeToUtf8Bytes(Mode: SourceGen)

ETL Files

Histogram

JIT Disasms

System.Text.Json.Serialization.Tests.WriteJson<ImmutableDictionary<String, String>>.SerializeToStream(Mode: SourceGen)

ETL Files

Histogram

JIT Disasms

System.Text.Json.Serialization.Tests.WriteJson<ImmutableDictionary<String, String>>.SerializeObjectProperty(Mode: SourceGen)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Copy link
Author

performanceautofiler bot commented Mar 19, 2024

Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Memory.Constructors<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
5.59 ns 2.63 ns 0.47 0.04 True
7.50 ns 3.53 ns 0.47 0.05 True
5.98 ns 3.49 ns 0.58 0.04 True
3.27 ns 1.96 ns 0.60 0.01 True
4.94 ns 2.47 ns 0.50 0.02 True
1.91 ns 0.02 ns 0.01 0.05 True
1.32 ns 0.30 ns 0.22 0.01 True
3.26 ns 2.01 ns 0.62 0.01 True
6.43 ns 2.73 ns 0.43 0.02 True
5.03 ns 2.68 ns 0.53 0.04 True

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Memory.Constructors&lt;String&gt;*'

Payloads

Baseline
Compare

System.Memory.Constructors<String>.MemoryFromArrayStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsMemoryStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsMemory

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ReadOnlySpanFromMemory

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ReadOnlySpanImplicitCastFromSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ReadOnlySpanImplicitCastFromArray

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.SpanFromMemory

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsSpanStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.MemoryFromArray

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.CreateAddAndClear<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
228.25 μs 212.40 μs 0.93 0.03 False
4.50 μs 3.76 μs 0.83 0.03 True
211.84 μs 168.24 μs 0.79 0.01 True
2.77 μs 2.35 μs 0.85 0.24 False

graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CreateAddAndClear&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.CreateAddAndClear<String>.ImmutableDictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CreateAddAndClear<String>.ConcurrentStack(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CreateAddAndClear<String>.ImmutableHashSet(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CreateAddAndClear<String>.Stack(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Text.Json.Node.Tests.Perf_ParseThenWrite

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
3.63 μs 3.34 μs 0.92 0.02 False
3.98 μs 3.61 μs 0.91 0.04 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Text.Json.Node.Tests.Perf_ParseThenWrite*'

Payloads

Baseline
Compare

System.Text.Json.Node.Tests.Perf_ParseThenWrite.ParseThenWrite(IsDataIndented: False, TestCase: Json400B)

ETL Files

Histogram

JIT Disasms

System.Text.Json.Node.Tests.Perf_ParseThenWrite.ParseThenWrite(IsDataIndented: True, TestCase: Json400B)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.ContainsFalse<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
24.66 μs 16.38 μs 0.66 0.08 True
2.59 ms 2.25 ms 0.87 0.03 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.ContainsFalse&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.ContainsFalse<String>.ImmutableHashSet(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.ContainsFalse<String>.ImmutableList(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.IndexerSet<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
300.66 ns 151.34 ns 0.50 0.01 True

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.IndexerSet&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.IndexerSet<String>.Span(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.CtorFromCollection<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
9.76 μs 7.10 μs 0.73 0.10 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CtorFromCollection&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.CtorFromCollection<String>.SortedDictionaryDeepCopy(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.Perf_Frozen<ReferenceType>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
190.78 ns 165.47 ns 0.87 0.09 False
97.71 ns 64.97 ns 0.66 0.07 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.Perf_Frozen&lt;ReferenceType&gt;*'

Payloads

Baseline
Compare

System.Collections.Perf_Frozen<ReferenceType>.ToFrozenSet(Count: 4)

ETL Files

Histogram

JIT Disasms

System.Collections.Perf_Frozen<ReferenceType>.ToFrozenDictionary(Count: 4)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.Perf_LengthBucketsFrozenDictionary

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
299.31 ns 245.79 ns 0.82 0.31 False
264.01 ns 246.52 ns 0.93 0.29 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.Perf_LengthBucketsFrozenDictionary*'

Payloads

Baseline
Compare

System.Collections.Perf_LengthBucketsFrozenDictionary.ToFrozenDictionary(Count: 10, ItemsPerBucket: 5)

ETL Files

Histogram

JIT Disasms

System.Collections.Perf_LengthBucketsFrozenDictionary.ToFrozenDictionary(Count: 10, ItemsPerBucket: 1)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Copy link
Author

performanceautofiler bot commented Mar 19, 2024

Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in LinqBenchmarks

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
3.02 secs 2.87 secs 0.95 0.09 False
3.06 secs 2.84 secs 0.93 0.09 False
1.98 secs 1.82 secs 0.92 0.16 False
1.98 secs 1.82 secs 0.92 0.15 False

graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'LinqBenchmarks*'

Payloads

Baseline
Compare

LinqBenchmarks.GroupBy00LinqMethodX

ETL Files

Histogram

JIT Disasms

LinqBenchmarks.GroupBy00AggregateByX

ETL Files

Histogram

JIT Disasms

LinqBenchmarks.CountBy00LinqMethodX

ETL Files

Histogram

JIT Disasms

LinqBenchmarks.CountBy00AggregateByX

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.TryGetValueFalse<String, String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
6.32 μs 5.27 μs 0.83 0.00 True
19.35 μs 16.91 μs 0.87 0.14 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.TryGetValueFalse&lt;String, String&gt;*'

Payloads

Baseline
Compare

System.Collections.TryGetValueFalse<String, String>.ConcurrentDictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.TryGetValueFalse<String, String>.ImmutableDictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in PerfLabTests.DelegatePerf

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
39.12 ms 33.55 ms 0.86 0.13 False
4.00 ms 3.44 ms 0.86 0.13 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'PerfLabTests.DelegatePerf*'

Payloads

Baseline
Compare

PerfLabTests.DelegatePerf.MulticastDelegateInvoke(length: 1000)

ETL Files

Histogram

JIT Disasms

PerfLabTests.DelegatePerf.MulticastDelegateInvoke(length: 100)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.Tests.Add_Remove_SteadyState<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
14.10 ns 12.65 ns 0.90 0.08 False
11.36 ns 10.21 ns 0.90 0.07 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.Tests.Add_Remove_SteadyState&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.Tests.Add_Remove_SteadyState<String>.ConcurrentStack(Count: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.Tests.Add_Remove_SteadyState<String>.ImmutableStack(Count: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.Concurrent.AddRemoveFromSameThreads<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
137.69 ms 117.84 ms 0.86 0.37 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.Concurrent.AddRemoveFromSameThreads&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.Concurrent.AddRemoveFromSameThreads<String>.ConcurrentStack(Size: 2000000)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.IterateFor<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
300.25 ns 152.47 ns 0.51 0.00 True

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.IterateFor&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.IterateFor<String>.Span(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.ContainsTrueComparer<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
37.03 μs 22.46 μs 0.61 0.02 True

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.ContainsTrueComparer&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.ContainsTrueComparer<String>.ImmutableHashSet(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.ContainsKeyTrue<String, String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
24.18 μs 18.64 μs 0.77 0.15 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.ContainsKeyTrue&lt;String, String&gt;*'

Payloads

Baseline
Compare

System.Collections.ContainsKeyTrue<String, String>.ImmutableDictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Text.Json.Serialization.Tests.WriteJson<ImmutableSortedDictionary<String, String>>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
11.20 μs 9.37 μs 0.84 0.42 False
10.49 μs 9.09 μs 0.87 0.48 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Text.Json.Serialization.Tests.WriteJson&lt;ImmutableSortedDictionary&lt;String, String&gt;&gt;*'

Payloads

Baseline
Compare

System.Text.Json.Serialization.Tests.WriteJson<ImmutableSortedDictionary<String, String>>.SerializeObjectProperty(Mode: Reflection)

ETL Files

Histogram

JIT Disasms

System.Text.Json.Serialization.Tests.WriteJson<ImmutableSortedDictionary<String, String>>.SerializeToStream(Mode: Reflection)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.CreateAddAndRemove<String>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
22.90 μs 21.22 μs 0.93 0.12 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CreateAddAndRemove&lt;String&gt;*'

Payloads

Baseline
Compare

System.Collections.CreateAddAndRemove<String>.Dictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS Windows 10.0.22621
Queue OwlWindows
Baseline 07b705b6c3a826f4517428a5159a992f825f18fc
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.IO.Tests.Perf_FileStream

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
173.65 ms 113.16 ms 0.65 0.71 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.IO.Tests.Perf_FileStream*'

Payloads

Baseline
Compare

System.IO.Tests.Perf_FileStream.Write(fileSize: 104857600, userBufferSize: 4096, options: None)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant