Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Benchmarks for #113715 (jkotas) #322

Description

@EgorBot

Processing dotnet/runtime#113715 (comment) command:

Command

-intel -arm

using System;
using System.Reflection;
using System.Runtime.CompilerServices;

using BenchmarkDotNet.Attributes;

public unsafe class Bench
{
    private object[] _source;
    private object[] _dest;

    public Bench()
    {
        _source = new object[10];
        _dest = new object[_source.Length];
    }

    [Benchmark]
    public void BenchmarkBulkMoveWithWriteBarrier()
    {
        _source.AsSpan().CopyTo(_dest.AsSpan());
    }
}

(EgorBot will reply in this issue)

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions