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

String Comparers benchmarks #535

Merged
merged 7 commits into from
Jun 3, 2019
Merged

Conversation

adamsitnik
Copy link
Member

In https://github.com/dotnet/corefx/issues/37691 it turned out that we had a huge difference for Windows vs Linux for StringComparer.InvariantCultureIgnoreCase.

I added the GetHashCode benchmark for https://github.com/dotnet/corefx/issues/37691 and Compare benchmarks for https://github.com/dotnet/corefx/issues/29462

/cc @danmosemsft @mjsabby

public class Perf_StringComparer
{
[Params(
128, // stackalloc path
Copy link
Member

Choose a reason for hiding this comment

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

I like the covered cases :)

Copy link
Member

Choose a reason for hiding this comment

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

**Thanks for the comments too

@adamsitnik adamsitnik merged commit 3cec9dc into dotnet:master Jun 3, 2019
@adamsitnik adamsitnik deleted the stringComparers branch June 7, 2019 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants