Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented May 13, 2022

Fixes #68889

@jkotas jkotas requested a review from MichalStrehovsky as a code owner May 13, 2022 06:01
@ghost ghost assigned jkotas May 13, 2022
@jkotas jkotas requested review from LakshanF and agocke May 13, 2022 12:31
Copy link
Contributor

@LakshanF LakshanF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the perf test, "System.Globalization.Tests.StringEquality.Compare_Same", from the performance repo is showing improvements with this change now

@jkotas jkotas merged commit 9d06449 into dotnet:main May 13, 2022
@adamsitnik
Copy link
Member

I assume the perf test, "System.Globalization.Tests.StringEquality.Compare_Same", from the performance repo is showing improvements with this change now

It is!

Method Runtime Options Mean Ratio
Compare_Same .NET 7.0 (, IgnoreCase) 769.87 ns 1.00
Compare_Same NativeAOT 7.0 (, IgnoreCase) 763.26 ns 0.99
Compare_Same .NET 7.0 (, None) 768.71 ns 1.00
Compare_Same NativeAOT 7.0 (, None) 763.40 ns 0.99
Compare_Same .NET 7.0 (en-US, IgnoreCase) 766.54 ns 1.00
Compare_Same NativeAOT 7.0 (en-US, IgnoreCase) 763.63 ns 1.00
Compare_Same .NET 7.0 (en-US, IgnoreNonSpace) 764.08 ns 1.00
Compare_Same NativeAOT 7.0 (en-US, IgnoreNonSpace) 760.61 ns 1.00
Compare_Same .NET 7.0 (en-US, IgnoreSymbols) 764.83 ns 1.00
Compare_Same NativeAOT 7.0 (en-US, IgnoreSymbols) 762.80 ns 1.00
Compare_Same .NET 7.0 (en-US, None) 772.08 ns 1.00
Compare_Same NativeAOT 7.0 (en-US, None) 763.99 ns 0.99
Compare_Same .NET 7.0 (en-US, Ordinal) 33.49 ns 1.00
Compare_Same NativeAOT 7.0 (en-US, Ordinal) 32.95 ns 0.98
Compare_Same .NET 7.0 (en-US, OrdinalIgnoreCase) 749.46 ns 1.00
Compare_Same NativeAOT 7.0 (en-US, OrdinalIgnoreCase) 744.45 ns 0.99
Compare_Same .NET 7.0 (pl-PL, None) 765.65 ns 1.00
Compare_Same NativeAOT 7.0 (pl-PL, None) 767.60 ns 1.00

@jkotas jkotas deleted the globalization branch June 6, 2022 16:39
@ghost ghost locked as resolved and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NativeAOT] Not using ICU on Windows by default

3 participants