Skip to content

EgorBot for jkotas in #111564 #295

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

Open
EgorBot opened this issue Feb 16, 2025 · 1 comment
Open

EgorBot for jkotas in #111564 #295

EgorBot opened this issue Feb 16, 2025 · 1 comment

Comments

@EgorBot
Copy link
Owner

EgorBot commented Feb 16, 2025

Processing dotnet/runtime#111564 (comment) command:

Command

-intel --envvars DOTNET_EnableAVX=0

using System.Collections;
using BenchmarkDotNet.Attributes;

public class Benchmarks
{
    bool[] buffer = new bool[1000];

    [Benchmark]
    [ArgumentsSource(nameof(TestData))]
    public void BitArrayCopyTo(BitArray bitArray) => bitArray.CopyTo(buffer, 0);

    public IEnumerable<BitArray> TestData()
    {
        yield return new BitArray(31);
        yield return new BitArray(32);
        yield return new BitArray(33);
        yield return new BitArray(64);
        yield return new BitArray(127);
        yield return new BitArray(128);
        yield return new BitArray(129);
        yield return new BitArray(256);
    }
}

(EgorBot will reply in this issue)

@EgorBot
Copy link
Owner Author

EgorBot commented Feb 16, 2025

Benchmark results on linux_azure_cascadelake

BDN_Artifacts.zip

cc @jkotas (agent_logs.txt). 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