Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update deps
  • Loading branch information
iamcarbon committed Apr 13, 2019
commit ff20c9f4eac80cf2d5419793faca7e76e7e5e3cc
1 change: 1 addition & 0 deletions tests/ImageSharp.Benchmarks/Codecs/DecodeFilteredPng.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.

using System.IO;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
Expand Down
1 change: 1 addition & 0 deletions tests/ImageSharp.Benchmarks/Codecs/Jpeg/EncodeJpeg.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.

using SixLabors.ImageSharp.PixelFormats;

using BenchmarkDotNet.Attributes;
Expand Down
4 changes: 2 additions & 2 deletions tests/ImageSharp.Benchmarks/Codecs/MultiImageBenchmarkBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace SixLabors.ImageSharp.Benchmarks.Codecs
using System.Numerics;

using BenchmarkDotNet.Attributes;

using BenchmarkDotNet.Diagnosers;
using SixLabors.ImageSharp.Tests;

using CoreImage = ImageSharp.Image;
Expand All @@ -28,7 +28,7 @@ public class Config : ManualConfig
public Config()
{
// Uncomment if you want to use any of the diagnoser
this.Add(new BenchmarkDotNet.Diagnosers.MemoryDiagnoser());
this.Add(MemoryDiagnoser.Default);
}

public class ShortClr : Benchmarks.Config
Expand Down
5 changes: 2 additions & 3 deletions tests/ImageSharp.Benchmarks/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.

using BenchmarkDotNet.Configs;

using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Jobs;

namespace SixLabors.ImageSharp.Benchmarks
Expand All @@ -11,8 +11,7 @@ public class Config : ManualConfig
{
public Config()
{
// Uncomment if you want to use any of the diagnoser
this.Add(new BenchmarkDotNet.Diagnosers.MemoryDiagnoser());
this.Add(MemoryDiagnoser.Default);
}

public class ShortClr : Config
Expand Down
1 change: 1 addition & 0 deletions tests/ImageSharp.Benchmarks/General/ArrayReverse.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.

using System;

using BenchmarkDotNet.Attributes;
Expand Down
1 change: 0 additions & 1 deletion tests/ImageSharp.Benchmarks/General/Vector4Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace SixLabors.ImageSharp.Benchmarks.General
{

/// <summary>
/// Has it any effect on performance to store SIMD constants as static readonly fields? Is it OK to always inline them?
/// Spoiler: the difference seems to be statistically insignificant!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Numerics;

using BenchmarkDotNet.Attributes;

namespace SixLabors.ImageSharp.Benchmarks.General.Vectorization
{
public class BitwiseOrUInt32
Expand Down
6 changes: 3 additions & 3 deletions tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
<Compile Include="..\ImageSharp.Tests\TestUtilities\TestEnvironment.cs" Link="Tests\TestEnvironment.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.11.3" />
<PackageReference Include="Colourful" Version="2.0.0" />
<PackageReference Include="BenchmarkDotNet" Version="0.11.5" />
<PackageReference Include="Colourful" Version="2.0.2" />
<PackageReference Include="SixLabors.Shapes.Text" Version="1.0.0-beta0007" />
<PackageReference Include="System.Drawing.Common" Version="4.5.0" />
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\ImageSharp.Drawing\ImageSharp.Drawing.csproj" />
Expand Down