Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[System.Globalization.Native] Fix performance regression on glibc on Linux#24099

Merged
stephentoub merged 1 commit into
dotnet:masterfrom
filipnavara:sysglobnative1
Apr 19, 2019
Merged

[System.Globalization.Native] Fix performance regression on glibc on Linux#24099
stephentoub merged 1 commit into
dotnet:masterfrom
filipnavara:sysglobnative1

Conversation

@filipnavara
Copy link
Copy Markdown
Member

Fixes dotnet/aspnetcore#9404, caused by #22390.

Running the tsearch vs. tfind test code on Ubuntu in Azure resulted in 18% performance improvement in favour of running tfind first and only using tsearch as fallback. On macOS the performance is nearly identical.

/cc @janvorli @stephentoub

Copy link
Copy Markdown
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks.

@filipnavara
Copy link
Copy Markdown
Member Author

Btw, realistically there's only 32 different variations of CompareOptions that generate different collators. Using a binary search tree for that looks like quite an overkill. I plan to address that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proxy scenario perf regression

2 participants