Browse Source

memory profiling with Sandbox46

af/merge-core
Anton Firszov 7 years ago
parent
commit
0a6a085e91
  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"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net461</TargetFramework> <TargetFramework>net472</TargetFramework>
<RuntimeIdentifier>win7-x64</RuntimeIdentifier> <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<Prefer32Bit>false</Prefer32Bit> <Prefer32Bit>false</Prefer32Bit>

6
tests/ImageSharp.Sandbox46/Program.cs

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

Loading…
Cancel
Save