From b56a768a31b04d43e1c5b13c109d666823e3d544 Mon Sep 17 00:00:00 2001 From: antonfirsov Date: Fri, 10 Apr 2026 00:56:29 +0200 Subject: [PATCH] ProcessorThroughputTest -> ProcessorThroughputBenchmark --- ...sorThroughputTest.cs => ProcessorThroughputBenchmark.cs} | 6 +++--- tests/ImageSharp.Tests.ProfilingSandbox/Program.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename tests/ImageSharp.Tests.ProfilingSandbox/{ProcessorThroughputTest.cs => ProcessorThroughputBenchmark.cs} (97%) diff --git a/tests/ImageSharp.Tests.ProfilingSandbox/ProcessorThroughputTest.cs b/tests/ImageSharp.Tests.ProfilingSandbox/ProcessorThroughputBenchmark.cs similarity index 97% rename from tests/ImageSharp.Tests.ProfilingSandbox/ProcessorThroughputTest.cs rename to tests/ImageSharp.Tests.ProfilingSandbox/ProcessorThroughputBenchmark.cs index 31a484ee3b..ddf2e2dbe6 100644 --- a/tests/ImageSharp.Tests.ProfilingSandbox/ProcessorThroughputTest.cs +++ b/tests/ImageSharp.Tests.ProfilingSandbox/ProcessorThroughputBenchmark.cs @@ -9,14 +9,14 @@ using SixLabors.ImageSharp.Processing; namespace SixLabors.ImageSharp.Tests.ProfilingSandbox; -public sealed class ProcessorThroughputTest +public sealed class ProcessorThroughputBenchmark { private const ulong CountingUnit = 1; private CommandLineOptions options; private Configuration configuration; private ulong totalPixelsInUnit; - private ProcessorThroughputTest(CommandLineOptions options) + private ProcessorThroughputBenchmark(CommandLineOptions options) { this.options = options; this.configuration = Configuration.Default.Clone(); @@ -38,7 +38,7 @@ public sealed class ProcessorThroughputTest } options ??= new CommandLineOptions(); - return new ProcessorThroughputTest(options.Normalize()) + return new ProcessorThroughputBenchmark(options.Normalize()) .RunAsync(); } diff --git a/tests/ImageSharp.Tests.ProfilingSandbox/Program.cs b/tests/ImageSharp.Tests.ProfilingSandbox/Program.cs index 8ca57d0c3a..db8892cd75 100644 --- a/tests/ImageSharp.Tests.ProfilingSandbox/Program.cs +++ b/tests/ImageSharp.Tests.ProfilingSandbox/Program.cs @@ -13,7 +13,7 @@ using Xunit.Abstractions; // LoadResizeSaveParallelMemoryStress.Run(args); // ParallelProcessingStress.RunExperiment(args); // ParallelProcessingStress.Run(args); -await ProcessorThroughputTest.RunAsync(args); +await ProcessorThroughputBenchmark.RunAsync(args); // RunToVector4ProfilingTest(); // RunResizeProfilingTest();