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 -15%] System.Tests.Perf_String.Replace_String #3248

Open
performanceautofiler bot opened this issue Nov 10, 2020 · 0 comments
Open

[Perf -15%] System.Tests.Perf_String.Replace_String #3248

performanceautofiler bot opened this issue Nov 10, 2020 · 0 comments

Comments

@performanceautofiler
Copy link

performanceautofiler bot commented Nov 10, 2020

Run Information

Architecture x64
OS Windows 10.0.18362
Baseline b6f791d1984f998384267b8b6683bd02f64747f2
Compare 7a2e0ececef83f6b5626a6410bd266fbbf1cb071

Regressions in System.Tests.Perf_String

Benchmark Baseline Test Test/Base Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
Replace_String 27.88 ns 17.16 ns 0.62 380.83199767912134 237.77018479868522 0.624344031614234 Trace Trace
PadLeft 1.29 μs 896.57 ns 0.70 11758.730982019364 6100.538728846668 0.5188092778187705 Trace Trace

Related Issue on x64 ubuntu

[Perf -35%] System.Tests.Perf_String.Replace_String

Related Issue on x64 ubuntu

[Perf -7%] System.Tests.Perf_String.Remove_Int

Related Issue on x64 ubuntu

[Perf 15%] System.Tests.Perf_String (7)

Related Issue on x64 ubuntu

[Perf -6%] System.Tests.Perf_String.IndexerCheckLengthHoisting

Related Issue on x64 ubuntu

[Perf -13%] System.Tests.Perf_String (2)

Related Issue on x64 ubuntu

[Perf -30%] System.Tests.Perf_String.IndexerCheckPathLength

Related Issue on x86 Windows

[Perf -8%] System.Tests.Perf_String.Replace_Char

graph
graph
Historical Data in Reporting System

Repro

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

Histogram

System.Tests.Perf_String.Replace_String(text: "This is a very nice sentence", oldValue: "bad", newValue: "nice")

[15.332 ; 16.619) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[16.619 ; 17.778) | @@@@@
[17.778 ; 19.064) | 
[19.064 ; 20.351) | 
[20.351 ; 21.638) | 
[21.638 ; 22.925) | 
[22.925 ; 24.212) | 
[24.212 ; 25.499) | 
[25.499 ; 26.728) | 
[26.728 ; 27.604) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[27.604 ; 28.891) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[28.891 ; 29.996) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[29.996 ; 31.151) | @

System.Tests.Perf_String.PadLeft(n: 2142)

[ 859.067 ;  927.324) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[ 927.324 ;  990.825) | 
[ 990.825 ; 1054.326) | 
[1054.326 ; 1117.827) | 
[1117.827 ; 1181.328) | 
[1181.328 ; 1205.955) | 
[1205.955 ; 1240.229) | @@@
[1240.229 ; 1303.730) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[1303.730 ; 1340.304) | @@@@
[1340.304 ; 1403.805) | 
[1403.805 ; 1491.191) | 
[1491.191 ; 1558.426) | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Docs

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

DrewScoggins pushed a commit that referenced this issue Aug 14, 2023
* Update dependencies from https://github.com/dotnet/runtime build 20230810.9

Microsoft.Extensions.Logging , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , System.Threading.Channels
 From Version 8.0.0-rc.1.23409.17 -> To Version 8.0.0-rc.1.23410.9

* Update dependencies from https://github.com/dotnet/runtime build 20230810.11

Microsoft.Extensions.Logging , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , System.Threading.Channels
 From Version 8.0.0-rc.1.23409.17 -> To Version 8.0.0-rc.1.23410.11

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
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

0 participants