From a5bc572bd6a97cbe6dbfdbc2a68c406b48deba9d Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Sun, 22 Jan 2017 00:49:43 +0100 Subject: [PATCH] fixed MultiImageBenchmarkBase based benchmarks --- .../Image/MultiImageBenchmarkBase.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ImageSharp.Benchmarks/Image/MultiImageBenchmarkBase.cs b/tests/ImageSharp.Benchmarks/Image/MultiImageBenchmarkBase.cs index b6d0341c4..9007ef75b 100644 --- a/tests/ImageSharp.Benchmarks/Image/MultiImageBenchmarkBase.cs +++ b/tests/ImageSharp.Benchmarks/Image/MultiImageBenchmarkBase.cs @@ -38,15 +38,15 @@ namespace ImageSharp.Benchmarks.Image [Params(InputImageCategory.AllImages, InputImageCategory.SmallImagesOnly, InputImageCategory.LargeImagesOnly)] public virtual InputImageCategory InputCategory { get; set; } - + protected virtual string BaseFolder => "../ImageSharp.Tests/TestImages/Formats/"; protected virtual IEnumerable SearchPatterns => new[] { "*.*" }; - + /// /// Gets the file names containing these strings are substrings are not processed by the benchmark. /// - protected IEnumerable ExcludeSubstringsInFileNames => new string[] { }; + protected IEnumerable ExcludeSubstringsInFileNames => new[] { "badeof", "BadEof" }; /// /// Enumerates folders containing files OR files to be processed by the benchmark. @@ -54,7 +54,7 @@ namespace ImageSharp.Benchmarks.Image protected IEnumerable AllFoldersOrFiles => this.InputImageSubfoldersOrFiles.Select(f => Path.Combine(this.BaseFolder, f)); /// - /// The images sized above this threshold will be included in + /// The images sized above this threshold will be included in /// protected virtual int LargeImageThresholdInBytes => 100000;