Skip to content

Significant Reverse(ReadOnlySpan<byte>) performance regression for certain sizes #78604

Description

@jkotas

Repro

Run Reverse(ReadOnlySpan<byte>) micro-benchmark (https://github.com/dotnet/performance/blob/c599f4c65e60ffe74c4c959ee02d1dddf551968e/src/benchmarks/micro/libraries/System.Memory/Span.cs#L44) for array size 33.

Result

Current .NET 8 is about 1.6x slower compared to .NET 7 (AVX2 machine)

Introduced by #70944.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions