Browse Source

memory profiling with Sandbox46

pull/888/head
Anton Firszov 7 years ago
parent
commit
d882d911ef
  1. 2
      tests/ImageSharp.Sandbox46/ImageSharp.Sandbox46.csproj
  2. 6
      tests/ImageSharp.Sandbox46/Program.cs

2
tests/ImageSharp.Sandbox46/ImageSharp.Sandbox46.csproj

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net461</TargetFramework>
<TargetFramework>net472</TargetFramework>
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<Prefer32Bit>false</Prefer32Bit>

6
tests/ImageSharp.Sandbox46/Program.cs

@ -33,11 +33,11 @@ namespace SixLabors.ImageSharp.Sandbox46
/// </param>
public static void Main(string[] args)
{
RunJpegColorProfilingTests();
// RunJpegColorProfilingTests();
// RunDecodeJpegProfilingTests();
// RunToVector4ProfilingTest();
// RunResizeProfilingTest();
RunResizeProfilingTest();
Console.ReadLine();
}
@ -51,7 +51,7 @@ namespace SixLabors.ImageSharp.Sandbox46
private static void RunResizeProfilingTest()
{
var test = new ResizeProfilingBenchmarks(new ConsoleOutput());
test.ResizeBicubic(2000, 2000);
test.ResizeBicubic(4000, 4000);
}
private static void RunToVector4ProfilingTest()

Loading…
Cancel
Save