File tree Expand file tree Collapse file tree 8 files changed +48
-37
lines changed
Hyperbee.Collections.Benchmark
Hyperbee.Collections.Tests Expand file tree Collapse file tree 8 files changed +48
-37
lines changed Original file line number Diff line number Diff line change 22 <!-- Shared package refs -->
33 <ItemGroup >
44 <!-- NBGV drives versions; PrivateAssets=all keeps it out of consumers -->
5- <PackageReference Include =" Nerdbank.GitVersioning" Version = " 3.9.50 " PrivateAssets = " all " />
5+ <PackageReference Include =" Nerdbank.GitVersioning" />
66
77 <!-- SourceLink for GitHub -->
8- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" >
9- <PrivateAssets >all</PrivateAssets >
10- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
11- </PackageReference >
12-
13- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Scripting" Version =" 4.14.0" />
8+ <PackageReference Include =" Microsoft.SourceLink.GitHub" />
149 </ItemGroup >
15-
10+
1611 <!-- SourceLink / build hygiene -->
1712 <PropertyGroup >
1813 <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
4641 PackagePath =" \"
4742 Link =" LICENSE" />
4843 </ItemGroup >
44+ <!-- Global project properies -->
45+ <PropertyGroup >
46+ <ImplicitUsings >enable</ImplicitUsings >
47+ <TargetFrameworks >net8.0;net10.0</TargetFrameworks >
48+ </PropertyGroup >
4949</Project >
Original file line number Diff line number Diff line change 1+ <Project >
2+ <PropertyGroup >
3+ <ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
4+ </PropertyGroup >
5+ <ItemGroup >
6+ <!-- Development Tools -->
7+ <PackageVersion Include =" Nerdbank.GitVersioning" Version =" 3.9.50" >
8+ <PrivateAssets >all</PrivateAssets >
9+ </PackageVersion >
10+ <PackageVersion Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" >
11+ <PrivateAssets >all</PrivateAssets >
12+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
13+ </PackageVersion >
14+ <PackageVersion Include =" Microsoft.CodeAnalysis.CSharp.Scripting" Version =" 5.0.0" />
15+ <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 18.0.1" />
16+ <PackageVersion Include =" MSTest.TestFramework" Version =" 4.0.2" />
17+ <PackageVersion Include =" MSTest.TestAdapter" Version =" 4.0.2" />
18+ <!-- Benchmarking Tools -->
19+ <PackageVersion Include =" BenchmarkDotNet" Version =" 0.15.8" />
20+ </ItemGroup >
21+ </Project >
Original file line number Diff line number Diff line change 11<Solution >
22 <Folder Name =" /Solution Items/" >
33 <File Path =" Directory.Build.props" />
4+ <File Path =" Directory.Packages.props" />
45 <File Path =" LICENSE" />
56 <File Path =" README.md" />
67 <File Path =" version.json" />
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net8.0;net10.0</TargetFrameworks >
4- <ImplicitUsings >enable</ImplicitUsings >
53 <Nullable >disable</Nullable >
64 <IsPackable >true</IsPackable >
75 <PackageId >Hyperbee.Collections</PackageId >
3331 <None Include =" ..\..\assets\icon.png" Pack =" true" Visible =" false" PackagePath =" /" />
3432 <None Include =" ..\..\README.md" Pack =" true" Visible =" true" PackagePath =" /" Link =" README.md" />
3533 <None Include =" ..\..\LICENSE" Pack =" true" Visible =" false" PackagePath =" /" />
36- <PackageReference Update =" Microsoft.CodeAnalysis.CSharp.Scripting" Version =" 4.14.0" />
37-
38- <PackageReference Update =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" >
39- <PrivateAssets >all</PrivateAssets >
40- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
41- </PackageReference >
42-
43- <PackageReference Update =" Nerdbank.GitVersioning" Version =" 3.9.50" />
4434 </ItemGroup >
4535</Project >
Original file line number Diff line number Diff line change 11using BenchmarkDotNet . Columns ;
22using BenchmarkDotNet . Configs ;
33using BenchmarkDotNet . Diagnosers ;
4+ using BenchmarkDotNet . Environments ;
45using BenchmarkDotNet . Exporters ;
56using BenchmarkDotNet . Jobs ;
67using BenchmarkDotNet . Loggers ;
@@ -15,7 +16,13 @@ public class Config : ManualConfig
1516 {
1617 public Config ( )
1718 {
18- AddJob ( Job . ShortRun ) ;
19+ AddJob ( Job . ShortRun
20+ . WithRuntime ( CoreRuntime . Core80 )
21+ . WithId ( ".NET 8" ) ) ;
22+
23+ AddJob ( Job . ShortRun
24+ . WithRuntime ( CoreRuntime . Core10_0 )
25+ . WithId ( ".NET 10" ) ) ;
1926 AddExporter ( MarkdownExporter . GitHub ) ;
2027 AddValidator ( JitOptimizationsValidator . DontFailOnError ) ;
2128 AddLogger ( ConsoleLogger . Default ) ;
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFramework >net10.0</TargetFramework >
6- <ImplicitUsings >enable</ImplicitUsings >
75 <IsPackable >false</IsPackable >
86 </PropertyGroup >
97
108 <ItemGroup >
11- <PackageReference Include =" BenchmarkDotNet" Version = " 0.15.8 " />
9+ <PackageReference Include =" BenchmarkDotNet" />
1210 </ItemGroup >
1311
1412 <ItemGroup >
1513 <ProjectReference Include =" ..\..\src\Hyperbee.Collections\Hyperbee.Collections.csproj" />
1614 </ItemGroup >
1715
1816 <ItemGroup >
19- <PackageReference Update =" Microsoft.CodeAnalysis.CSharp.Scripting" Version = " 4.14.0 " />
20- <PackageReference Update =" Nerdbank.GitVersioning" Version = " 3.9.50 " />
17+ <PackageReference Update =" Microsoft.CodeAnalysis.CSharp.Scripting" />
18+ <PackageReference Update =" Nerdbank.GitVersioning" />
2119 </ItemGroup >
2220
2321</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net8.0;net10.0</TargetFrameworks >
4- <ImplicitUsings >enable</ImplicitUsings >
53 <Nullable >disable</Nullable >
64 <IsPackable >false</IsPackable >
75 <RootNamespace >Hyperbee.Collections.Tests</RootNamespace >
1210 <None Remove =" TestDocuments\**" />
1311 </ItemGroup >
1412 <ItemGroup >
15- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version = " 18.0.1 " />
16- <PackageReference Include =" MSTest.TestFramework" Version = " 4.0.2 " />
17- <PackageReference Include =" MSTest.TestAdapter" Version = " 4.0.2 " />
13+ <PackageReference Include =" Microsoft.NET.Test.Sdk" />
14+ <PackageReference Include =" MSTest.TestFramework" />
15+ <PackageReference Include =" MSTest.TestAdapter" />
1816 </ItemGroup >
1917 <ItemGroup >
2018 <ProjectReference Include =" ..\..\src\Hyperbee.Collections\Hyperbee.Collections.csproj" />
2119 </ItemGroup >
22- <ItemGroup >
23- <PackageReference Update =" Microsoft.CodeAnalysis.CSharp.Scripting" Version =" 4.14.0" />
24- <PackageReference Update =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" >
25- <PrivateAssets >all</PrivateAssets >
26- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
27- </PackageReference >
28- <PackageReference Update =" Nerdbank.GitVersioning" Version =" 3.9.50" />
29- </ItemGroup >
3020</Project >
Original file line number Diff line number Diff line change 1+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+
3+ // Enable test parallelization for better performance
4+ [ assembly: Parallelize ( Workers = 0 , Scope = ExecutionScope . MethodLevel ) ]
You can’t perform that action at this time.
0 commit comments