[Perf] Linux/x64: 8 Improvements on 7/16/2024 4:20:22 AM #38637
Open
Description
Run Information
Name | Value |
---|---|
Architecture | x64 |
OS | ubuntu 22.04 |
Queue | TigerUbuntu |
Baseline | e1ab2243b27da4aa8a76372e4384bcd2b5894b3b |
Compare | 2b3088b99e97f0d6d3dd24dcd41ab330757f5aa2 |
Diff | Diff |
Configs | CompilationMode:wasm, RunKind:micro |
Improvements in System.Collections.CtorGivenSize<Int32>
Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio |
---|---|---|---|---|---|---|---|---|
3.48 μs | 2.04 μs | 0.59 | 0.04 | True | ||||
165.15 ns | 121.72 ns | 0.74 | 0.05 | False | ||||
212.18 ns | 159.36 ns | 0.75 | 0.13 | False | ||||
405.50 ns | 304.21 ns | 0.75 | 0.07 | False | ||||
206.57 ns | 156.63 ns | 0.76 | 0.11 | False | ||||
627.55 ns | 555.33 ns | 0.88 | 0.10 | False | ||||
204.36 ns | 156.56 ns | 0.77 | 0.11 | False | ||||
748.06 ns | 521.91 ns | 0.70 | 0.08 | 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.Collections.CtorGivenSize<Int32>*'
System.Collections.CtorGivenSize<Int32>.Dictionary(Size: 512)
ETL Files
Histogram
JIT Disasms
System.Collections.CtorGivenSize<Int32>.Array(Size: 512)
ETL Files
Histogram
JIT Disasms
System.Collections.CtorGivenSize<Int32>.List(Size: 512)
ETL Files
Histogram
JIT Disasms
System.Collections.CtorGivenSize<Int32>.SortedList(Size: 512)
ETL Files
Histogram
JIT Disasms
System.Collections.CtorGivenSize<Int32>.Queue(Size: 512)
ETL Files
Histogram
JIT Disasms
System.Collections.CtorGivenSize<Int32>.ConcurrentDictionary(Size: 512)
ETL Files
Histogram
JIT Disasms
System.Collections.CtorGivenSize<Int32>.Stack(Size: 512)
ETL Files
Histogram
JIT Disasms
System.Collections.CtorGivenSize<Int32>.HashSet(Size: 512)
ETL Files
Histogram
JIT Disasms
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository