Open EgorBot opened 2 months ago
Amd
BenchmarkDotNet v0.14.0, Ubuntu 22.04.4 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 16 logical and 8 physical cores
Job-DTWKHJ : .NET 9.0.0 (9.0.24.40507), X64 RyuJIT AVX2
OutlierMode=DontRemove EnvironmentVariables=DOTNET_JitDisasm=WriteBasicUtf8 MemoryRandomization=True
StdDev=0.96 ns
Method | Formatted | SkipValidation | DataSize | Mean | Error |
---|---|---|---|---|---|
WriteBasicUtf8 | False | False | 10 | 483.7 ns | 1.03 ns |
Processing https://github.com/dotnet/runtime/issues/107044#issuecomment-2329584340 command:
Command
-amd -profiler --envvars DOTNET_JitDisasm:WriteBasicUtf8 ```cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Buffers; using System.Text.Json.Tests; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; namespace System.Text.Json.Tests { public class Perf_Basic { private ArrayBufferWriter(EgorBot will reply in this issue)