From 810bebf972929568492bfdbbe1ab3c40ac7a5fb1 Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Thu, 17 Jun 2021 11:39:33 +0200 Subject: [PATCH] Add CoreRuntime.Core50 --- tests/ImageSharp.Benchmarks/Codecs/DecodeWebp.cs | 4 ++-- tests/ImageSharp.Benchmarks/Config.cs | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/ImageSharp.Benchmarks/Codecs/DecodeWebp.cs b/tests/ImageSharp.Benchmarks/Codecs/DecodeWebp.cs index 17cc1865f..a05da5edf 100644 --- a/tests/ImageSharp.Benchmarks/Codecs/DecodeWebp.cs +++ b/tests/ImageSharp.Benchmarks/Codecs/DecodeWebp.cs @@ -42,7 +42,7 @@ namespace SixLabors.ImageSharp.Benchmarks.Codecs this.webpLosslessBytes ??= File.ReadAllBytes(this.TestImageLosslessFullPath); } - [Benchmark(Description = "Magick Lossy WebP")] + [Benchmark(Description = "Magick Lossy Webp")] public int WebpLossyMagick() { var settings = new MagickReadSettings { Format = MagickFormat.WebP }; @@ -58,7 +58,7 @@ namespace SixLabors.ImageSharp.Benchmarks.Codecs return image.Height; } - [Benchmark(Description = "Magick Lossless WebP")] + [Benchmark(Description = "Magick Lossless Webp")] public int WebpLosslessMagick() { var settings = new MagickReadSettings { Format = MagickFormat.WebP }; diff --git a/tests/ImageSharp.Benchmarks/Config.cs b/tests/ImageSharp.Benchmarks/Config.cs index 63064eec5..c905718e2 100644 --- a/tests/ImageSharp.Benchmarks/Config.cs +++ b/tests/ImageSharp.Benchmarks/Config.cs @@ -34,7 +34,8 @@ namespace SixLabors.ImageSharp.Benchmarks public MultiFramework() => this.AddJob( Job.Default.WithRuntime(ClrRuntime.Net472), Job.Default.WithRuntime(CoreRuntime.Core21), - Job.Default.WithRuntime(CoreRuntime.Core31)); + Job.Default.WithRuntime(CoreRuntime.Core31), + Job.Default.WithRuntime(CoreRuntime.Core50)); } public class ShortMultiFramework : Config @@ -42,7 +43,8 @@ namespace SixLabors.ImageSharp.Benchmarks public ShortMultiFramework() => this.AddJob( Job.Default.WithRuntime(ClrRuntime.Net472).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3), Job.Default.WithRuntime(CoreRuntime.Core21).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3), - Job.Default.WithRuntime(CoreRuntime.Core31).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3)); + Job.Default.WithRuntime(CoreRuntime.Core31).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3), + Job.Default.WithRuntime(CoreRuntime.Core50).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3)); } public class ShortCore31 : Config