File tree 6 files changed +16
-17
lines changed
6 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ namespace PooledStream.Benchmark
9
9
{
10
10
[ Config ( typeof ( MultiPlatformConfig ) ) ]
11
11
[ MemoryDiagnoser ]
12
- [ DisassemblyDiagnoser ( printAsm : true , printIL : true , printSource : true ) ]
13
12
public class ObjectPoolStreamBench
14
13
{
15
14
[ Params ( 10000 ) ]
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFrameworks >netcoreapp3 .0;netcoreapp2 .1</TargetFrameworks >
4
+ <TargetFrameworks >net6 .0;netcoreapp3 .1</TargetFrameworks >
5
5
<PlatformTarget >AnyCPU</PlatformTarget >
6
6
<DebugType >pdbonly</DebugType >
7
7
<DebugSymbols >true</DebugSymbols >
8
8
<IsPackable >false</IsPackable >
9
9
</PropertyGroup >
10
10
<ItemGroup >
11
- <PackageReference Include =" BenchmarkDotNet" Version =" 0.12.0 " />
11
+ <PackageReference Include =" BenchmarkDotNet" Version =" 0.13.1 " />
12
12
<PackageReference Include =" CodeProject.ObjectPool" Version =" 3.2.2" />
13
13
<PackageReference Include =" Microsoft.IO.RecyclableMemoryStream" Version =" 1.2.2" />
14
- <PackageReference Include =" Microsoft.Extensions.ObjectPool" Version =" 3.0.0" />
14
+ <PackageReference Include =" Microsoft.Extensions.ObjectPool" Version =" 3.0.0" />
15
15
</ItemGroup >
16
16
<ItemGroup >
17
17
<ProjectReference Include =" ..\PooledStream\PooledStream.csproj" />
Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ class MultiPlatformConfig : ManualConfig
77
77
{
78
78
public MultiPlatformConfig ( )
79
79
{
80
- Add ( Job . Default . WithWarmupCount ( 3 ) . WithIterationCount ( 3 )
81
- . With ( CsProjCoreToolchain . NetCoreApp21 ) ) ;
82
- Add ( Job . Default . WithWarmupCount ( 3 ) . WithIterationCount ( 3 )
83
- . With ( CsProjCoreToolchain . NetCoreApp30 ) ) ;
80
+ AddJob ( Job . Default . WithWarmupCount ( 3 ) . WithIterationCount ( 3 )
81
+ . WithToolchain ( CsProjCoreToolchain . NetCoreApp60 ) ) ;
82
+ AddJob ( Job . Default . WithWarmupCount ( 3 ) . WithIterationCount ( 3 )
83
+ . WithToolchain ( CsProjCoreToolchain . NetCoreApp31 ) ) ;
84
84
this . Options |= ConfigOptions . DisableOptimizationsValidator ;
85
85
}
86
86
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netcoreapp2.1;netcoreapp3. 0</TargetFrameworks >
4
+ <TargetFramework >net6. 0</TargetFramework >
5
5
6
6
<IsPackable >false</IsPackable >
7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
10
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16 .0.1 " />
10
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17 .0.0 " />
11
11
<PackageReference Include =" xunit" Version =" 2.4.1" />
12
12
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.1" >
13
13
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
Original file line number Diff line number Diff line change 22
22
</PropertyGroup >
23
23
<ItemGroup >
24
24
<Compile Include =" **/*.cs" Exclude =" obj/**/*.cs" />
25
- <Compile Include =" obj/$(Configuration)/$(TargetFramework)/*.cs" />
25
+ <!-- < Compile Include="obj/$(Configuration)/$(TargetFramework)/*.cs"/> -- >
26
26
<Content Include =" $(ProjectDir)../LICENSE.md" Pack =" true" PackagePath =" \" />
27
27
</ItemGroup >
28
28
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
29
29
<Compile Remove =" PooledMemoryStream.netstd11.cs" />
30
30
</ItemGroup >
31
31
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard1.1'" >
32
- <PackageReference Include =" System.Buffers" Version =" 4.5.0 " />
33
- <PackageReference Include =" System.Memory" Version =" 4.5.3 " />
32
+ <PackageReference Include =" System.Buffers" Version =" 4.5.1 " />
33
+ <PackageReference Include =" System.Memory" Version =" 4.5.4 " />
34
34
<Compile Remove =" PooledMemoryStream.netstd21.cs" />
35
35
</ItemGroup >
36
36
</Project >
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ stages:
12
12
steps :
13
13
- task : UseDotNet@2
14
14
inputs :
15
- version : " 3.0 .x"
15
+ version : " 3.1 .x"
16
16
packageType : sdk
17
- displayName : " Enabling dotnet core sdk 3.0 "
17
+ displayName : " Enabling dotnet core sdk 3.1 "
18
18
- task : UseDotNet@2
19
19
inputs :
20
- version : " 2.1 .x"
20
+ version : " 6.0 .x"
21
21
packageType : sdk
22
- displayName : " Enabling dotnet core sdk 2.1 "
22
+ displayName : " Enabling dotnet core sdk 6.0 "
23
23
- script : dotnet tool restore
24
24
displayName : restoring local tool
25
25
- script : dotnet tool run dotnet-cake build.cake -- -Configuration=Release
You can’t perform that action at this time.
0 commit comments