|
|
|
@ -34,15 +34,15 @@ namespace SixLabors.ImageSharp.Tests.Formats.Jpg |
|
|
|
TestImages.Jpeg.Baseline.Jpeg444, |
|
|
|
}; |
|
|
|
|
|
|
|
[Theory] // Benchmark, enable manually
|
|
|
|
[MemberData(nameof(DecodeJpegData))] |
|
|
|
// [Theory] // Benchmark, enable manually
|
|
|
|
// [MemberData(nameof(DecodeJpegData))]
|
|
|
|
public void DecodeJpeg_Original(string fileName) |
|
|
|
{ |
|
|
|
this.DecodeJpegBenchmarkImpl(fileName, new OrigJpegDecoder()); |
|
|
|
} |
|
|
|
|
|
|
|
[Theory] // Benchmark, enable manually
|
|
|
|
[MemberData(nameof(DecodeJpegData))] |
|
|
|
// [Theory] // Benchmark, enable manually
|
|
|
|
// [MemberData(nameof(DecodeJpegData))]
|
|
|
|
public void DecodeJpeg_PdfJs(string fileName) |
|
|
|
{ |
|
|
|
this.DecodeJpegBenchmarkImpl(fileName, new PdfJsJpegDecoder()); |
|
|
|
@ -106,4 +106,4 @@ namespace SixLabors.ImageSharp.Tests.Formats.Jpg |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|