Skip to content

Unroll SpanHelpers.SequenceEqual in a late phase - #108808

Closed
EgorBo wants to merge 4 commits into
dotnet:mainfrom
EgorBo:unroll-seqeq
Closed

EgorBo wants to merge 4 commits into
dotnet:mainfrom
EgorBo:unroll-seqeq

Conversation

@EgorBo

@EgorBo EgorBo commented Oct 11, 2024

Copy link
Copy Markdown
Member

checking diffs..

@EgorBo

EgorBo commented Oct 11, 2024

Copy link
Copy Markdown
Member Author

@MihuBot

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 11, 2024
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@EgorBo

EgorBo commented Oct 11, 2024

Copy link
Copy Markdown
Member Author

@MihuBot

@EgorBo

EgorBo commented Oct 12, 2024

Copy link
Copy Markdown
Member Author

@MihuBot

@EgorBo

EgorBo commented Oct 12, 2024

Copy link
Copy Markdown
Member Author

/azp run runtime-outerloop, runtime-coreclr pgo

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@EgorBo

EgorBo commented Oct 12, 2024

Copy link
Copy Markdown
Member Author

@EgorBot -intel -arm64 -profiler

using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;

BenchmarkSwitcher.FromAssembly(typeof(Bench).Assembly).Run(args);

public class Bench
{
    static byte[] Data = "1111222233334444"u8.ToArray();

    [Benchmark]
    public bool Test() => Data.AsSpan().SequenceEqual("1111222233334444"u8);
}

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

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant