You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[browser][HybridGlobalization][tracking] Regressions of text APIs when running in *HybridGlobalization* mode. #94473
Based on our investigations, some of the String, TextInfo and CompareInfo APIs are running slower with WASM HybridGlobalization (HG) enabled than with HG disabled.
Here is the summary of the largest regressions. We compare the default behavior (using ICU4C) to the scenario with enabled HG (both running with interpreter, similar numbers are reported for AOT as well).
API
time ICU4C [ms]
time HG [ms]
slow-down
String, TextInfo ToLower
0.2698
90.9531
33611%
String, TextInfo ToUpper
0.2545
90.9077
35620%
String, TextInfo ToTitleCase
7.1761
113.7647
1485%
String, String Compare
0.0397
0.374
842%
String, String Equals
0.0397
0.3717
836%
String, CompareInfo Compare
0.0393
0.373
849%
String, String IndexOf
4.7239
2362.6667
49915%
String, String LastIndexOf
8.1408
2361
28902%
Note: These regressions only influence application where HG is enabled (e.g., by adding <HybridGlobalization>true</HybridGlobalization> to the .csproj file) as it is not the default settings.
Activity
matouskozak commentedon Jul 24, 2024
Moving to .net 10 as it is not blocking a release. Hybrid globalization on browser is an optional feature. cc: @ilonatommy
matouskozak commentedon Dec 10, 2024
Closing as not planned, more info #110526