KEMBAR78
[Perf] Linux/x64: 114 Improvements on 3/14/2024 8:52:16 AM · Issue #31364 · dotnet/perf-autofiling-issues · GitHub
Skip to content

[Perf] Linux/x64: 114 Improvements on 3/14/2024 8:52:16 AM #31364

@performanceautofiler

Description

@performanceautofiler

Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline eb864bfd57c8031b4497be6962fbc0c4bc327c29
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Tests.Perf_UInt64

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
8.03 ns 6.80 ns 0.85 0.36 False
10.95 ns 9.69 ns 0.89 0.17 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
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_UInt64*'

Payloads

Baseline
Compare

System.Tests.Perf_UInt64.Parse(value: "0")

ETL Files

Histogram

JIT Disasms

System.Tests.Perf_UInt64.TryParseHex(value: "3039")

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 ubuntu 22.04
Queue TigerUbuntu
Baseline eb864bfd57c8031b4497be6962fbc0c4bc327c29
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.54 μs 12.18 μs 0.90 0.15 False
12.68 μs 11.65 μs 0.92 0.13 False
13.02 μs 11.90 μs 0.91 0.14 False
13.64 μs 12.04 μs 0.88 0.14 False
13.21 μs 10.29 μs 0.78 0.40 False
12.49 μs 9.92 μs 0.79 0.36 False
11.72 μs 9.65 μs 0.82 0.42 False
12.02 μs 9.11 μs 0.76 0.05 True
12.48 μs 10.39 μs 0.83 0.33 False

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
python3 .\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>>.SerializeToString(Mode: Reflection)

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

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

ETL Files

Histogram

JIT Disasms

System.Text.Json.Serialization.Tests.WriteJson<ImmutableDictionary<String, String>>.SerializeToString(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>>.SerializeToWriter(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


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue TigerUbuntu
Baseline eb864bfd57c8031b4497be6962fbc0c4bc327c29
Compare 713e69021b6a53a4f7e7affc2eb10965e41f8f3a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Buffers.Tests.SearchValuesByteTests

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
8.45 ns 7.15 ns 0.85 0.08 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
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Buffers.Tests.SearchValuesByteTests*'

Payloads

Baseline
Compare

System.Buffers.Tests.SearchValuesByteTests.ContainsAny(Values: "abcdefABCDEF0123456789")

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 ubuntu 22.04
Queue TigerUbuntu
Baseline eb864bfd57c8031b4497be6962fbc0c4bc327c29
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
1.74 ns 0.00 ns 0.00 0.13 False
6.48 ns 1.97 ns 0.30 0.03 True
1.33 ns 0.01 ns 0.01 0.20 True
5.59 ns 3.89 ns 0.70 0.01 True
4.98 ns 3.88 ns 0.78 0.04 True
1.05 ns 0.00 ns 0.00 0.10 True
7.15 ns 4.11 ns 0.57 0.02 True
1.04 ns 0.00 ns 0.00 0.18 False
4.96 ns 1.55 ns 0.31 0.01 True
5.87 ns 4.13 ns 0.70 0.06 True
5.67 ns 1.96 ns 0.35 0.06 True
4.35 ns 1.44 ns 0.33 0.03 True

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
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Memory.Constructors&lt;String&gt;*'

Payloads

Baseline
Compare

System.Memory.Constructors<String>.ReadOnlySpanImplicitCastFromArray

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsSpanStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ReadOnlySpanImplicitCastFromSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.MemoryFromArrayStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.MemoryFromArray

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.MemoryMarshalCreateReadOnlySpan

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsMemoryStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.MemoryMarshalCreateSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.SpanFromArrayStartLength

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsMemory

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.ArrayAsSpan

ETL Files

Histogram

JIT Disasms

System.Memory.Constructors<String>.SpanFromArray

ETL Files

Histogram

JIT Disasms

Docs

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions