diff --git a/src/TypeNameInterpretation.Benchmark/AssemblyNameParsing.cs b/src/TypeNameInterpretation.Benchmark/AssemblyNameParsing.cs index 7c399f1..58aa23f 100644 --- a/src/TypeNameInterpretation.Benchmark/AssemblyNameParsing.cs +++ b/src/TypeNameInterpretation.Benchmark/AssemblyNameParsing.cs @@ -1,8 +1,12 @@ // Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using BenchmarkDotNet.Attributes; +using BenchmarkDotNet.Jobs; namespace TypeNameInterpretation.Benchmark; +[SimpleJob(RuntimeMoniker.Net48)] +[SimpleJob(RuntimeMoniker.Net80)] +[SimpleJob(RuntimeMoniker.Net10_0)] [MemoryDiagnoser] public class AssemblyNameParsing { diff --git a/src/TypeNameInterpretation.Benchmark/FormatAssemblyName.cs b/src/TypeNameInterpretation.Benchmark/FormatAssemblyName.cs index cba7f96..b68f080 100644 --- a/src/TypeNameInterpretation.Benchmark/FormatAssemblyName.cs +++ b/src/TypeNameInterpretation.Benchmark/FormatAssemblyName.cs @@ -1,9 +1,13 @@ // Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using BenchmarkDotNet.Attributes; +using BenchmarkDotNet.Jobs; using static TypeNameInterpretation.InsTypeFactory; namespace TypeNameInterpretation.Benchmark; +[SimpleJob(RuntimeMoniker.Net48)] +[SimpleJob(RuntimeMoniker.Net80)] +[SimpleJob(RuntimeMoniker.Net10_0)] [MemoryDiagnoser] public class FormatAssemblyName { diff --git a/src/TypeNameInterpretation.Benchmark/FormatTypeName.cs b/src/TypeNameInterpretation.Benchmark/FormatTypeName.cs index 37a9328..f0609db 100644 --- a/src/TypeNameInterpretation.Benchmark/FormatTypeName.cs +++ b/src/TypeNameInterpretation.Benchmark/FormatTypeName.cs @@ -1,9 +1,13 @@ // Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using BenchmarkDotNet.Attributes; +using BenchmarkDotNet.Jobs; using static TypeNameInterpretation.InsTypeFactory; namespace TypeNameInterpretation.Benchmark; +[SimpleJob(RuntimeMoniker.Net48)] +[SimpleJob(RuntimeMoniker.Net80)] +[SimpleJob(RuntimeMoniker.Net10_0)] [MemoryDiagnoser] public class FormatTypeName { diff --git a/src/TypeNameInterpretation.Benchmark/TypeNameInterpretation.Benchmark.csproj b/src/TypeNameInterpretation.Benchmark/TypeNameInterpretation.Benchmark.csproj index 37ae5be..9bddbf6 100644 --- a/src/TypeNameInterpretation.Benchmark/TypeNameInterpretation.Benchmark.csproj +++ b/src/TypeNameInterpretation.Benchmark/TypeNameInterpretation.Benchmark.csproj @@ -2,7 +2,7 @@ Exe - net8.0;net9.0;net10.0 + net48;net8.0;net9.0;net10.0 enable disable diff --git a/src/TypeNameInterpretation.Benchmark/TypeNameParsing.cs b/src/TypeNameInterpretation.Benchmark/TypeNameParsing.cs index d28634b..585f033 100644 --- a/src/TypeNameInterpretation.Benchmark/TypeNameParsing.cs +++ b/src/TypeNameInterpretation.Benchmark/TypeNameParsing.cs @@ -1,8 +1,12 @@ // Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using BenchmarkDotNet.Attributes; +using BenchmarkDotNet.Jobs; namespace TypeNameInterpretation.Benchmark; +[SimpleJob(RuntimeMoniker.Net48)] +[SimpleJob(RuntimeMoniker.Net80)] +[SimpleJob(RuntimeMoniker.Net10_0)] [MemoryDiagnoser] public class TypeNameParsing {