Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[perf] Needed optimization around CultureInfo.IsSuffix #13136

@alexanderkyte

Description

@alexanderkyte

A number of the CultureInfo benchmarks show a major performance loss on Mono compared to .NET.

We see a time of 9299 ns on Mono where .NET Core has a time of 19 ns.

The below benchmark exhibits that.
https://gist.github.com/alexanderkyte/0fb4a79cc3c5edbf4af6e7714ffaebe2

It doesn't look like this is a codegen issue as much as a bit of sub-optimal managed code.

globalization

globalization 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions