Open performanceautofiler[bot] opened 2 months ago
Seems to be https://github.com/dotnet/runtime/pull/106988 @EgorBo
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
@EgorBot -intel -commit e1851a5 vs previous --envvars DOTNET_JitDisasm:CtorBench
using System;
using BenchmarkDotNet.Attributes;
using System.Collections.Generic;
public class Perf_Uri
{
public static IEnumerable<object[]> Ctor_MemberData()
{
yield return ["https://a.much.longer.domain.name"];
}
[Benchmark]
[ArgumentsSource(nameof(Ctor_MemberData))]
public Uri CtorBench(string input) => new Uri(input);
}
@EgorBot -intel -commit 89839049b486bf48239dd6faa722defd3de320cb vs 9c9f6ada7ffd0cba60b75ca3e85f1052b9ab6404 --envvars DOTNET_JitDisasm:CtorBench
using System;
using BenchmarkDotNet.Attributes;
using System.Collections.Generic;
public class Perf_Uri
{
public static IEnumerable<object[]> Ctor_MemberData()
{
yield return ["https://a.much.longer.domain.name"];
}
[Benchmark]
[ArgumentsSource(nameof(Ctor_MemberData))]
public Uri CtorBench(string input) => new Uri(input);
}
Not my change as it seems, let me inspect others.
@EgorBot -intel -commit 80187a31d8ff9d6d2dc270bbf502a3fb6b12268b vs previous --envvars DOTNET_JitDisasm:CtorBench
using System;
using BenchmarkDotNet.Attributes;
using System.Collections.Generic;
public class Perf_Uri
{
public static IEnumerable<object[]> Ctor_MemberData()
{
yield return ["https://a.much.longer.domain.name"];
}
[Benchmark]
[ArgumentsSource(nameof(Ctor_MemberData))]
public Uri CtorBench(string input) => new Uri(input);
}
@EgorBot -intel -commit 8b34fb0656c2514b542321107f34c0bae659ff32 vs previous --envvars DOTNET_JitDisasm:CtorBench
using System;
using BenchmarkDotNet.Attributes;
using System.Collections.Generic;
public class Perf_Uri
{
public static IEnumerable<object[]> Ctor_MemberData()
{
yield return ["https://a.much.longer.domain.name"];
}
[Benchmark]
[ArgumentsSource(nameof(Ctor_MemberData))]
public Uri CtorBench(string input) => new Uri(input);
}
So only Tiger regressed judging by ADX page, looks like the method itself is no longer 32b aligned: https://www.diffchecker.com/0qUcqaWc marking as 10.0.0
@EgorBot -intel -commit 9c9f6ada7ffd0cba60b75ca3e85f1052b9ab6404 vs previous --envvars DOTNET_JitDisasm:CtorBench
using System;
using BenchmarkDotNet.Attributes;
using System.Collections.Generic;
public class Perf_Uri
{
public static IEnumerable<object[]> Ctor_MemberData()
{
yield return ["https://a.much.longer.domain.name"];
}
[Benchmark]
[ArgumentsSource(nameof(Ctor_MemberData))]
public Uri CtorBench(string input) => new Uri(input);
}
Run Information
Regressions in System.Tests.Perf_Uri
Test Report
Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md