Open EgorBot opened 2 weeks ago
Processing https://github.com/dotnet/runtime/pull/109570#issuecomment-2466403770 command:
(EgorBot will reply in this issue)
Processing https://github.com/dotnet/runtime/pull/109570#issuecomment-2466403770 command:
Command
-aws_cached2_genoa ```cs using System.Runtime.InteropServices; using BenchmarkDotNet.Attributes; using System.Runtime.CompilerServices; using BenchmarkDotNet.Running; BenchmarkSwitcher.FromAssembly(typeof(Bench).Assembly).Run(args); public unsafe class Bench { static byte* _srcAlign64; static byte* _srcAlign8; [GlobalSetup] public void Setup() { _srcAlign64 = (byte*)NativeMemory.AlignedAlloc(1024 * 1024, 64); _srcAlign8 = _srcAlign64 + 8; } [GlobalCleanup] public void Cleanup() => NativeMemory.AlignedFree(_srcAlign64); [Benchmark] public void Zero256_Align64() => Unsafe.InitBlockUnaligned(_srcAlign64, 0, 256); } ```(EgorBot will reply in this issue)