forked from dotnet/performance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MicroBenchmarks.csproj
98 lines (87 loc) · 5.42 KB
/
MicroBenchmarks.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Used by Python script to narrow down the specified target frameworks to test, and avoid downloading all supported SDKs -->
<TargetFrameworks>$(PERFLAB_TARGET_FRAMEWORKS)</TargetFrameworks>
<!-- Supported target frameworks -->
<TargetFrameworks Condition="'$(TargetFrameworks)' == '' AND '$(OS)' == 'Windows_NT'">net461;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp5.0</TargetFrameworks>
<TargetFrameworks Condition="'$(TargetFrameworks)' == ''">netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp5.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsARM Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().StartsWith(`arm`, System.StringComparison.OrdinalIgnoreCase))'">true</IsARM>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Jil" Version="2.17.0" />
<PackageReference Include="MessagePack" Version="1.7.3.7" />
<PackageReference Include="MessagePackAnalyzer" Version="1.7.3.7" />
<PackageReference Include="protobuf-net" Version="2.4.0" />
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
<PackageReference Include="System.IO.Pipelines" Version="4.5.3" />
<PackageReference Include="System.Memory" Version="4.5.1" />
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="4.3.0" />
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.3.0" />
<PackageReference Include="System.Security.Cryptography.Primitives" Version="4.3.0" />
<PackageReference Include="System.Threading.Channels" Version="4.5.0" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
<PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
<PackageReference Include="Utf8Json" Version="1.3.7" />
<!-- following two dependencies must point to version 4.3.0 or newer to make it possible to publish MicroBenchmarks.csproj -->
<PackageReference Include="Microsoft.Win32.Primitives" Version="4.3.0" />
<PackageReference Include="System.Net.Primitives" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\harness\BenchmarkDotNet.Extensions\BenchmarkDotNet.Extensions.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="coreclr\BenchmarksGame\Inputs\*.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="corefx\System.Net.Http\*.pfx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="corefx\System.IO.Compression\TestData\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="corefx\System.Text.RegularExpressions\content\200_000.in">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework'">
<Compile Remove="corefx\System.IO.Compression\Brotli.cs" />
<Compile Remove="corefx\System.Net.Http\Perf.SocketsHttpHandler.cs" />
<Compile Remove="corefx\System.Net.Security\SslStreamTests.cs" />
<Compile Remove="corefx\System.Net.Sockets\Perf.Socket.SendReceive.cs" />
<Compile Remove="corefx\System.Numerics.Vectors\GenericVectorFromSpanConstructorTests.cs" />
<Compile Remove="corefx\System.Runtime\Perf.HashCode.cs" />
<Compile Remove="corefx\System.Security.Cryptography.Primitives\**" />
<Compile Remove="corefx\System.Security.Cryptography\Perf.Rfc2898DeriveBytes.cs" />
<Compile Remove="coreclr\Math\Functions\Double\Acosh.cs" />
<Compile Remove="coreclr\Math\Functions\Double\Asinh.cs" />
<Compile Remove="coreclr\Math\Functions\Double\Atanh.cs" />
<Compile Remove="coreclr\Math\Functions\Double\Cbrt.cs" />
<Compile Remove="coreclr\Math\Functions\Single\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' Or ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And '$(_TargetFrameworkVersionWithoutV)' < '3.0')">
<Compile Remove="coreclr\Math\Functions\Double\FusedMultiplyAdd.cs" />
<Compile Remove="coreclr\Math\Functions\Double\ILogB.cs" />
<Compile Remove="coreclr\Math\Functions\Double\Log2.cs" />
<Compile Remove="coreclr\Math\Functions\Double\ScaleB.cs" />
<Compile Remove="coreclr\Math\Functions\Single\FusedMultiplyAdd.cs" />
<Compile Remove="coreclr\Math\Functions\Single\ILogB.cs" />
<Compile Remove="coreclr\Math\Functions\Single\Log2.cs" />
<Compile Remove="coreclr\Math\Functions\Single\ScaleB.cs" />
<Compile Remove="corefx\System.Memory\SequenceReader.cs" />
<Compile Remove="corefx\System.Text.Json\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' Or ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And '$(_TargetFrameworkVersionWithoutV)' < '3.0') OR '$(IsARM)' == 'true'">
<Compile Remove="coreclr\PacketTracer\**\*.cs" />
</ItemGroup>
<ItemGroup>
<!-- Workaround https://github.com/dotnet/project-system/issues/935 -->
<None Include="**/*.cs" />
</ItemGroup>
</Project>