Skip to content

Benchmarks for #113715 (jkotas) #322

@EgorBot

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)

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