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

EgorBot for AndyAyersMS in #110258 #196

Open
EgorBot opened this issue Dec 2, 2024 · 2 comments
Open

EgorBot for AndyAyersMS in #110258 #196

EgorBot opened this issue Dec 2, 2024 · 2 comments

Comments

@EgorBot
Copy link
Owner

EgorBot commented Dec 2, 2024

Processing dotnet/runtime#110258 (comment) command:

Command

-intel -arm -profiler --envvars DOTNET_TC_CallCounting:0 DOTNET_TieredPGO_InstrumentOnlyHotCode:0 DOTNET_TieredPGO_ScalableCountThreshold:1E

using BenchmarkDotNet.Attributes;

public class Bench
{
    int a = 0;
    int b = 0;
    int c = 0;
    int d = 0;
    int e = 0;

    [Benchmark]
    public int Test()
    {
        int zeros = 0;
        for (int i = 0; i < 1024; i++)
        {
            int zeros = 0;
            int nonzeros = 0;
            if (a == 0)
                zeros++;
            else nonzeros++;
            if (b == 0)
                zeros++;
            else nonzeros++;
            if (c == 0)
                zeros++;
            else nonzeros++;
            if (d == 0)
                zeros++;
            else nonzeros++;
            if (e == 0)
                zeros++;
            else nonzeros++;
        });
        return zeros;
    }
}

(EgorBot will reply in this issue)

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 2, 2024

❌ Failed on AzureCascadeLake: Job failed, see logs.

cc @AndyAyersMS (logs). EgorBot manual: link.

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 2, 2024

❌ Failed on AzureCobalt100: Job failed, see logs.

cc @AndyAyersMS (logs). EgorBot manual: link.

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

No branches or pull requests

1 participant