Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EgorBot for am11 in #110344 #200

Open
EgorBot opened this issue Dec 3, 2024 · 10 comments
Open

EgorBot for am11 in #110344 #200

EgorBot opened this issue Dec 3, 2024 · 10 comments

Comments

@EgorBot
Copy link
Owner

EgorBot commented Dec 3, 2024

Processing dotnet/runtime#110344 (comment) command:

Command

-windows_intel

using System;
using BenchmarkDotNet.Attributes;

public class Bench
{
    [Bench]
    public static byte GetRef()
    {
        MyStruct myStruct = new MyStruct(42);
        TypedReference tr = __makeref(myStruct);
        byte fieldValue = __refvalue(tr, MyStruct).Field;
        return fieldValue;
    }
}

public struct MyStruct
{
    public byte Field;

    public MyStruct(byte value)
    {
        Field = value;
    }
}

(EgorBot will reply in this issue)

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 3, 2024

❌ Failed on AzureCascadeLake: Job failed, see logs.

cc @am11 (logs). EgorBot manual: link.

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 3, 2024

Benchmark results on windows_azure_cascadelake

BDN_Artifacts.zip

cc @am11 (agent_logs.txt). EgorBot manual: link.

@am11
Copy link

am11 commented Dec 3, 2024

@EgorBot -windows_intel -pr 110344

using System;
using BenchmarkDotNet.Attributes;

public class Bench
{
    [Benchmark]
    public byte GetRef()
    {
        MyStruct myStruct = new MyStruct(42);
        TypedReference tr = __makeref(myStruct);
        byte fieldValue = __refvalue(tr, MyStruct).Field;
        return fieldValue;
    }
}

public struct MyStruct
{
    public byte Field;

    public MyStruct(byte value)
    {
        Field = value;
    }
}

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 3, 2024

Benchmark results on windows_azure_cascadelake

BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.2314) (Hyper-V)
azure_cascadelake
  Job-OALVLA : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-ZCGSUC : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Job Toolchain Mean Error Ratio
GetRef Job-OALVLA \core_root_base\corerun.exe 1.7530 ns 0.0031 ns 1.00
GetRef Job-ZCGSUC \core_root_diff\corerun.exe 0.6021 ns 0.0087 ns 0.34

BDN_Artifacts.zip

cc @am11 (agent_logs.txt). EgorBot manual: link.

@am11
Copy link

am11 commented Dec 3, 2024

@EgorBot -windows_intel -pr 110344

using System;
using BenchmarkDotNet.Attributes;

public class Bench
{
    [Benchmark]
    public byte GetRef()
    {
        MyStruct myStruct = new MyStruct(42);
        TypedReference tr = __makeref(myStruct);
        byte fieldValue = __refvalue(tr, MyStruct).Field;
        return fieldValue;
    }
}

public struct MyStruct
{
    public byte Field;

    public MyStruct(byte value)
    {
        Field = value;
    }
}

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 3, 2024

Benchmark results on windows_azure_cascadelake

BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.2314) (Hyper-V)
azure_cascadelake
  Job-QKAGCF : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-TYDWWJ : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Job Toolchain Mean Error Ratio
GetRef Job-QKAGCF \core_root_base\corerun.exe 0.8803 ns 0.0024 ns 1.00
GetRef Job-TYDWWJ \core_root_diff\corerun.exe 1.1800 ns 0.0034 ns 1.34

BDN_Artifacts.zip

cc @am11 (agent_logs.txt). EgorBot manual: link.

@am11
Copy link

am11 commented Dec 3, 2024

@EgorBot -windows_intel -pr 110344

using System;
using BenchmarkDotNet.Attributes;

public class Bench
{
    [Benchmark]
    public byte GetRef()
    {
        MyStruct myStruct = new MyStruct(42);
        TypedReference tr = __makeref(myStruct);
        byte fieldValue = __refvalue(tr, MyStruct).Field;
        return fieldValue;
    }
}

public struct MyStruct
{
    public byte Field;

    public MyStruct(byte value)
    {
        Field = value;
    }
}

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 3, 2024

Benchmark results on windows_azure_cascadelake

BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.2314) (Hyper-V)
azure_cascadelake
  Job-URJCJH : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-TIWXIM : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Job Toolchain Mean Error Ratio
GetRef Job-URJCJH \core_root_base\corerun.exe 2.028 ns 0.0040 ns 1.00
GetRef Job-TIWXIM \core_root_diff\corerun.exe 1.169 ns 0.0032 ns 0.58

BDN_Artifacts.zip

cc @am11 (agent_logs.txt). EgorBot manual: link.

@am11
Copy link

am11 commented Dec 3, 2024

@EgorBot -windows_intel -pr 110344

using System;
using BenchmarkDotNet.Attributes;

public class Bench
{
    [Benchmark]
    public byte GetRef()
    {
        MyStruct myStruct = new MyStruct(42);
        TypedReference tr = __makeref(myStruct);
        byte fieldValue = __refvalue(tr, MyStruct).Field;
        return fieldValue;
    }
}

public struct MyStruct
{
    public byte Field;

    public MyStruct(byte value)
    {
        Field = value;
    }
}

@EgorBot
Copy link
Owner Author

EgorBot commented Dec 3, 2024

Benchmark results on windows_azure_cascadelake

BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.2314) (Hyper-V)
azure_cascadelake
  Job-FNMZRM : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
  Job-TWSIEX : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Method Job Toolchain Mean Error Ratio
GetRef Job-FNMZRM \core_root_base\corerun.exe 1.739 ns 0.0005 ns 1.00
GetRef Job-TWSIEX \core_root_diff\corerun.exe 1.417 ns 0.0012 ns 0.81

BDN_Artifacts.zip

cc @am11 (agent_logs.txt). EgorBot manual: link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants