Open
Description
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 F _f;
private byte[] _source;
private byte[] _dest;
private delegate* <ref byte, ref byte, nuint, void> _method;
class F
{
~F() { }
}
public Bench()
{
_f = new F();
_source = new byte[10 * 1024];
_dest = new byte[_source.Length];
Random random = new Random();
random.NextBytes(_source);
var method = typeof(Buffer).GetMethod("BulkMoveWithWriteBarrier", BindingFlags.NonPublic | BindingFlags.Static)!;
_method = (delegate* <ref byte, ref byte, nuint, void>)method.MethodHandle.GetFunctionPointer();
}
[Benchmark]
public void BenchmarkBulkMoveWithWriteBarrier()
{
_method(ref _dest[0], ref _source[0], (nuint)_dest.Length);
}
[Benchmark]
public void BenchmarkSuppressFinalize()
{
GC.SuppressFinalize(_f);
}
}
(EgorBot will reply in this issue)
Activity
EgorBot commentedon Mar 20, 2025
❌ Failed on AzureCobalt100: Job failed, see logs.
cc @AaronRobinsonMSFT (logs). EgorBot manual: link.
EgorBo commentedon Mar 20, 2025
@AaronRobinsonMSFT ugh. not sure why this compilation bug appears only in your PRs, must be something to do when "diff" changes in the VM code, I'm looking now
EgorBot commentedon Mar 20, 2025
❌ Failed on AzureCascadeLake: Job failed, see logs.
cc @AaronRobinsonMSFT (logs). EgorBot manual: link.
EgorBo commentedon Mar 20, 2025
@EgorBot -ubuntu2404_amd -ubuntu2204_amd -pr 113715
EgorBot commentedon Mar 20, 2025
Benchmark results on
linux_azure_genoa
BDN_Artifacts.zip
cc @EgorBo (agent_logs.txt). EgorBot manual: link.
EgorBot commentedon Mar 20, 2025
Benchmark results on
linux_azure_genoa
BDN_Artifacts.zip
cc @EgorBo (agent_logs.txt). EgorBot manual: link.