mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.0 KiB
47 lines
2.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<AssemblyName>ImageSharp.Benchmarks</AssemblyName>
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>SixLabors.ImageSharp.Benchmarks</RootNamespace>
|
|
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net472</TargetFrameworks>
|
|
<GenerateProgramFile>false</GenerateProgramFile>
|
|
<!--Used to hide test project from dotnet test-->
|
|
<IsTestProject>false</IsTestProject>
|
|
|
|
<!-- Uncomment this to run benchmarks depending on Colorful or Pfim (colorspaces and TGA): -->
|
|
<!--<SignAssembly>false</SignAssembly>-->
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\ImageSharp.Tests\TestImages.cs" Link="Tests\TestImages.cs" />
|
|
<Compile Include="..\ImageSharp.Tests\TestUtilities\TestEnvironment.cs" Link="Tests\TestEnvironment.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Magick.NET-Q16-AnyCPU" />
|
|
<PackageReference Include="BenchmarkDotNet" />
|
|
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Condition="'$(OS)' == 'Windows_NT'" />
|
|
<PackageReference Include="Colourful" />
|
|
<PackageReference Include="Pfim" />
|
|
<PackageReference Include="System.Drawing.Common" />
|
|
</ItemGroup>
|
|
|
|
<!-- Exclude benchmarks using internals, in case of unsigned benchmark execution: -->
|
|
<ItemGroup Condition="'$(SignAssembly)' == 'false'">
|
|
<Compile Remove="Codecs\Jpeg\BlockOperations\**" />
|
|
<Compile Remove="Codecs\Jpeg\YCbCrColorConversion.cs" />
|
|
<Compile Remove="Codecs\Jpeg\DecodeJpegParseStreamOnly.cs" />
|
|
<Compile Remove="Color\Bulk\**" />
|
|
<Compile Remove="Color\RgbToYCbCr.cs" />
|
|
<Compile Remove="Color\YCbCrToRgb.cs" />
|
|
<Compile Remove="General\Vectorization\**" />
|
|
<Compile Remove="General\PixelConversion\**" />
|
|
<Compile Remove="General\BasicMath\ModuloPowerOfTwoConstant.cs" />
|
|
<Compile Remove="General\BasicMath\ModuloPowerOfTwoVariable.cs" />
|
|
<Compile Remove="PixelBlenders\**" />
|
|
<Compile Remove="Samplers\Resize.cs" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|