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

JIT: Mark unreachable handler regions as cold when using PGO data #113110

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amanasifkhalid
Copy link
Member

No description provided.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 4, 2025
Copy link
Contributor

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

@amanasifkhalid
Copy link
Member Author

@EgorBot -arm -amd --filter "System.Memory.Span<Byte>.Reverse"

@EgorBo
Copy link
Member

EgorBo commented Mar 4, 2025

@EgorBot -arm -amd --filter System.Memory.Span.Reverse

@EgorBo
Copy link
Member

EgorBo commented Mar 4, 2025

I think I forgot to properly handle escaping in --filter 🙂

@amanasifkhalid
Copy link
Member Author

I think I forgot to properly handle escaping in --filter 🙂

No worries, let me try passing it directly

@amanasifkhalid
Copy link
Member Author

@EgorBot -arm -amd

using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;

public class Bench
{
    private byte[] _array = new byte[512];

    [GlobalSetup]
    public void Setup()
    {
        _array = new byte[512];
    }

    [Benchmark]
    public void Reverse() => new System.Span<byte>(_array).Reverse();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

2 participants