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

Tests #148

Open
EgorBo opened this issue Nov 7, 2024 · 58 comments
Open

Tests #148

EgorBo opened this issue Nov 7, 2024 · 58 comments

Comments

@EgorBo
Copy link

EgorBo commented Nov 7, 2024

No description provided.

@EgorBo
Copy link
Author

EgorBo commented Nov 7, 2024

@EgorBot -aws_arm64 -gcp_arm64

using BenchmarkDotNet.Attributes;

public class C
{
    private static string[] _arr = new string[100];
    private static string _val = 1111111.ToString();

    [Benchmark]
    public void AssignRef()
    {
        var arr = _arr;
        var val = _val;
        for (var index = 0; index < arr.Length; index++) 
            arr[index] = val;
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on linux-arm64

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
Arm64
DefaultJob : .NET 9.0.0 (9.0.24.47305), Arm64 RyuJIT AdvSIMD
StdDev=0.01 ns
Method Mean Error
AssignRef 148.1 ns 0.02 ns

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on Debian12-axion

BenchmarkDotNet v0.14.0, Debian GNU/Linux 12 (bookworm)
GcpAxion
DefaultJob : .NET 9.0.0 (9.0.24.47305), Arm64 RyuJIT AdvSIMD
StdDev=0.01 ns
Method Mean Error
AssignRef 171.3 ns 0.01 ns

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 7, 2024

@EgorBot -aws_milano -gcp_milano

using BenchmarkDotNet.Attributes;

public class C
{
    private static string[] _arr = new string[100];
    private static string _val = 1111111.ToString();

    [Benchmark]
    public void AssignRef()
    {
        var arr = _arr;
        var val = _val;
        for (var index = 0; index < arr.Length; index++) 
            arr[index] = val;
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

❌ Failed on AwsGenoa: No benchmarks were found, see logs.

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 7, 2024

@EgorBot -aws_milano -gcp_milano

using BenchmarkDotNet.Attributes;

public class C
{
    private static string[] _arr = new string[100];
    private static string _val = 1111111.ToString();

    [Benchmark]
    public void AssignRef()
    {
        var arr = _arr;
        var val = _val;
        for (var index = 0; index < arr.Length; index++) 
            arr[index] = val;
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on linux-milano

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
AMD EPYC 7R13 Processor, 1 CPU, 4 logical and 2 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX2
StdDev=0.08 ns
Method Mean Error
AssignRef 256.4 ns 0.10 ns

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on Debian12-milano

BenchmarkDotNet v0.14.0, Debian GNU/Linux 12 (bookworm)
AMD EPYC 7B13, 1 CPU, 4 logical and 2 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX2
StdDev=0.16 ns
Method Mean Error
AssignRef 261.6 ns 0.18 ns

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 7, 2024

@EgorBot -aws_arm64 -gcp_arm64 -aws_amd -gcp_intel

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on linux-arm64

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
Arm64
DefaultJob : .NET 9.0.0 (9.0.24.47305), Arm64 RyuJIT AdvSIMD
StdDev=0.0005 μs
Method Mean Error
Interlocked_Increment 4.766 μs 0.0007 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on linux-genoa

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
AMD EPYC 9R14, 1 CPU, 4 logical and 4 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
StdDev=0.0181 μs
Method Mean Error
Interlocked_Increment 1.855 μs 0.0194 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on Debian12-emeraldrapids

BenchmarkDotNet v0.14.0, Debian GNU/Linux 12 (bookworm)
INTEL XEON PLATINUM 8581C CPU 2.30GHz, 1 CPU, 4 logical and 2 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
StdDev=0.0058 μs
Method Mean Error
Interlocked_Increment 5.843 μs 0.0070 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

Benchmark results on Debian12-axion

BenchmarkDotNet v0.14.0, Debian GNU/Linux 12 (bookworm)
GcpAxion
DefaultJob : .NET 9.0.0 (9.0.24.47305), Arm64 RyuJIT AdvSIMD
StdDev=0.0002 μs
Method Mean Error
Interlocked_Increment 4.447 μs 0.0002 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 7, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -hetzner_amd

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

2 similar comments
@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -hetzner_amd

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -hetzner_amd

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-dedicatedamd

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
AMD EPYC Processor, 1 CPU, 8 logical and 4 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX2
StdDev=0.0033 μs
Method Mean Error
Interlocked_Increment 1.913 μs 0.0035 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -hetzner_amd

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

1 similar comment
@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -hetzner_amd

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-dedicatedamd

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
AMD EPYC Processor, 1 CPU, 8 logical and 4 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX2
StdDev=0.0043 μs
Method Mean Error
Interlocked_Increment 1.900 μs 0.0049 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -hetzner_amd

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-dedicatedamd

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
AMD EPYC Processor, 1 CPU, 8 logical and 4 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX2
StdDev=0.0075 μs
Method Mean Error
Interlocked_Increment 1.908 μs 0.0085 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -hetzner_ampere -hetzner_icelake -hetzner_milano

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-milano

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
AMD EPYC Processor, 1 CPU, 16 logical and 16 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX2
StdDev=0.0114 μs
Method Mean Error
Interlocked_Increment 5.418 μs 0.0136 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-ampere

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
HetznerAmpere
DefaultJob : .NET 9.0.0 (9.0.24.47305), Arm64 RyuJIT AdvSIMD
StdDev=0.0004 μs
Method Mean Error
Interlocked_Increment 4.353 μs 0.0004 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-icelake

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
Intel Xeon Processor (Skylake, IBRS, no TSX), 1 CPU, 16 logical and 16 physical cores
DefaultJob : .NET 9.0.0 (9.0.24.47305), X64 RyuJIT AVX-512F+CD+BW+DQ+VL
StdDev=0.1645 μs
Method Mean Error
Interlocked_Increment 6.933 μs 0.1339 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -commit main -gcp_arm64 -aws_arm64 -aws_amd -hetzner_dedicated_amd -hetzner_milano

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

❌ Failed on GcpAxion: Job failed, see logs.

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-genoa

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
AMD EPYC 9R14, 1 CPU, 8 logical and 8 physical cores
  Job-EOVMFW : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job=Job-EOVMFW  Toolchain=CoreRun  StdDev=0.0072 μs
Method Mean Error
Interlocked_Increment 1.954 μs 0.0077 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-arm64

BenchmarkDotNet v0.14.0, Ubuntu 24.04 LTS (Noble Numbat)
Arm64
  Job-RZGIBJ : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Job=Job-RZGIBJ  Toolchain=CoreRun  StdDev=0.0006 μs
Method Mean Error
Interlocked_Increment 4.766 μs 0.0007 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-milano

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
AMD EPYC Processor, 1 CPU, 16 logical and 16 physical cores
  Job-BXCCYN : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX2
Job=Job-BXCCYN  Toolchain=CoreRun  StdDev=0.0388 μs
Method Mean Error
Interlocked_Increment 2.177 μs 0.0415 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-dedicatedmilano

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
AMD EPYC Processor, 1 CPU, 8 logical and 4 physical cores
  Job-HTRIJO : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX2
Job=Job-HTRIJO  Toolchain=CoreRun  StdDev=0.0077 μs
Method Mean Error
Interlocked_Increment 1.889 μs 0.0086 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -commit main -gcp_arm64 -gcp_intel

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on Debian12-axion

BenchmarkDotNet v0.14.0, Debian GNU/Linux 12 (bookworm)
GcpAxion
  Job-ICCZOA : .NET 10.0.0 (42.42.42.42424), Arm64 RyuJIT AdvSIMD
Job=Job-ICCZOA  Toolchain=CoreRun  StdDev=0.0003 μs
Method Mean Error
Interlocked_Increment 4.446 μs 0.0003 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on Debian12-emeraldrapids

BenchmarkDotNet v0.14.0, Debian GNU/Linux 12 (bookworm)
INTEL XEON PLATINUM 8581C CPU 2.30GHz, 1 CPU, 8 logical and 4 physical cores
  Job-PFUNQM : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job=Job-PFUNQM  Toolchain=CoreRun  StdDev=0.0526 μs
Method Mean Error
Interlocked_Increment 5.360 μs 0.0562 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

@EgorBo
Copy link
Author

EgorBo commented Nov 9, 2024

@EgorBot -commit main -aws_cached_genoa

using BenchmarkDotNet.Attributes;

public class C
{
    private long a;

    [Benchmark]
    public void Interlocked_Increment()
    {
        for (int i = 0; i < 1000; i++) 
            Interlocked.Increment(ref a);
    }
}

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

Benchmark results on linux-cachedgenoa

BenchmarkDotNet v0.14.0, Ubuntu 24.04.1 LTS (Noble Numbat)
AMD EPYC 9R14, 1 CPU, 8 logical and 8 physical cores
  Job-WUTTOS : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job=Job-WUTTOS  Toolchain=CoreRun  StdDev=0.0030 μs
Method Mean Error
Interlocked_Increment 1.891 μs 0.0034 μs

BDN_Artifacts.zip

@EgorBot
Copy link
Owner

EgorBot commented Nov 9, 2024

cc @EgorBo (logs)

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