Closed
Description
Run Information
Name | Value |
---|---|
Architecture | x64 |
OS | ubuntu 22.04 |
Queue | TigerUbuntu |
Baseline | 0262a63be0f560fa902b1e31e9a10760e466352d |
Compare | d8f796bb1e7e9ea0fce75d39a3f740d8d25681b4 |
Diff | Diff |
Configs | CompilationMode:tiered, RunKind:micro |
Improvements in System.Text.Json.Tests.Perf_Reader
Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio |
---|---|---|---|---|---|---|---|---|
525.07 ns | 473.34 ns | 0.90 | 0.08 | False | ||||
1.66 μs | 1.37 μs | 0.83 | 0.10 | False | ||||
1.41 μs | 1.20 μs | 0.85 | 0.09 | False | ||||
8.08 μs | 6.60 μs | 0.82 | 0.02 | False | ||||
2.19 μs | 2.01 μs | 0.92 | 0.01 | False | ||||
1.46 μs | 1.38 μs | 0.94 | 0.14 | False |
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.Tests.Perf_Reader*'
System.Text.Json.Tests.Perf_Reader.ReadMultiSpanSequenceEmptyLoop(IsDataCompact: True, TestCase: Json400B)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Perf_Reader.ReadReturnBytes(IsDataCompact: False, TestCase: LotsOfStrings)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Perf_Reader.ReadSingleSpanSequenceEmptyLoop(IsDataCompact: False, TestCase: LotsOfStrings)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Perf_Reader.ReadReturnBytes(IsDataCompact: False, TestCase: DeepTree)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Perf_Reader.ReadSingleSpanSequenceEmptyLoop(IsDataCompact: True, TestCase: DeepTree)
ETL Files
Histogram
JIT Disasms
System.Text.Json.Tests.Perf_Reader.ReadMultiSpanSequenceEmptyLoop(IsDataCompact: False, TestCase: LotsOfStrings)
ETL Files
Histogram
JIT Disasms
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository