Browse Source

Revert comment as it was before, add exception for SA1115

pull/1090/head
Brian Popow 6 years ago
parent
commit
d59ca988a0
  1. 13
      tests/ImageSharp.Benchmarks/Codecs/Jpeg/DecodeJpeg_ImageSpecific.cs

13
tests/ImageSharp.Benchmarks/Codecs/Jpeg/DecodeJpeg_ImageSpecific.cs

@ -47,12 +47,15 @@ namespace SixLabors.ImageSharp.Benchmarks.Codecs.Jpeg
[Params( [Params(
TestImages.Jpeg.BenchmarkSuite.Lake_Small444YCbCr, TestImages.Jpeg.BenchmarkSuite.Lake_Small444YCbCr,
TestImages.Jpeg.BenchmarkSuite.BadRstProgressive518_Large444YCbCr, TestImages.Jpeg.BenchmarkSuite.BadRstProgressive518_Large444YCbCr,
/* The scaled result for the large image "ExifGetString750Transform_Huge420YCbCr"
is almost the same as the result for Jpeg420Exif, #pragma warning disable SA1115 // Parameter should follow comma
which proves that the execution time for the most common YCbCr 420 path scales linearly.
TestImages.Jpeg.BenchmarkSuite.ExifGetString750Transform_Huge420YCbCr, // The scaled result for the large image "ExifGetString750Transform_Huge420YCbCr"
*/ // is almost the same as the result for Jpeg420Exif,
// which proves that the execution time for the most common YCbCr 420 path scales linearly.
// TestImages.Jpeg.BenchmarkSuite.ExifGetString750Transform_Huge420YCbCr,
TestImages.Jpeg.BenchmarkSuite.Jpeg420Exif_MidSizeYCbCr)] TestImages.Jpeg.BenchmarkSuite.Jpeg420Exif_MidSizeYCbCr)]
#pragma warning restore SA1115 // Parameter should follow comma
public string TestImage { get; set; } public string TestImage { get; set; }

Loading…
Cancel
Save