Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac77370

Browse files
committed
.NET 10 (#271)
* Added Net 10 support * Benchmarks with .NET 10 * Updated build files * Added spatial queries to readme.md * Readme.md fitted with snippet links * Benchmarks.md fitted with SnippetLink
1 parent ab06732 commit ac77370

29 files changed

Lines changed: 275 additions & 157 deletions

.config/dotnet-tools.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66
"version": "5.4.18",
77
"commands": [
88
"reportgenerator"
9-
]
9+
],
10+
"rollForward": false
11+
},
12+
"akade.snippetlink": {
13+
"version": "0.2.1",
14+
"commands": [
15+
"snippet-link"
16+
],
17+
"rollForward": false
1018
}
1119
}
1220
}

.github/workflows/ci-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
dotnet-version: |
2222
8.x
2323
9.x
24+
10.x
2425
- name: Restore dependencies
2526
run: dotnet restore
2627
- name: Build

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
dotnet-version: |
5959
8.x
6060
9.x
61+
10.x
6162
6263
- name: Build
6364
run: dotnet build

.github/workflows/publish-to-nuget-org.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
dotnet-version: |
2020
8.x
2121
9.x
22+
10.x
2223
- name: Restore dependencies
2324
run: dotnet restore
2425
- name: Build

Akade.IndexedSet.Benchmarks/Akade.IndexedSet.Benchmarks.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net9.0</TargetFrameworks>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>
@@ -15,6 +15,7 @@
1515
<PackageReference Include="Fastenshtein" Version="1.0.11" />
1616
<PackageReference Include="RBush" Version="4.0.0" />
1717
<PackageReference Include="Microsoft.SemanticKernel.Connectors.Onnx" Version="1.66.0-alpha" />
18+
<PackageReference Include="Microsoft.VisualStudio.DiagnosticsHub.BenchmarkDotNetDiagnosers" Version="18.3.36714.1" />
1819
</ItemGroup>
1920

2021
<ItemGroup>

Akade.IndexedSet.Benchmarks/ConcurrentSetBenchmarks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace Akade.IndexedSet.Benchmarks;
88
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
99
[MemoryDiagnoser]
1010
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net90)]
11+
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net10_0)]
1112
[JsonExporter]
1213
public class ConcurrentSetBenchmarks
1314
{

Akade.IndexedSet.Benchmarks/FullTextIndexBenchmarks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace Akade.IndexedSet.Benchmarks;
66
[MemoryDiagnoser]
77
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
88
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net90)]
9+
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net10_0)]
910
[JsonExporter]
1011
public class FullTextIndexBenchmarks
1112
{

Akade.IndexedSet.Benchmarks/MultiValueIndexBenchmarks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Akade.IndexedSet.Benchmarks;
55
[MemoryDiagnoser]
66
[DisassemblyDiagnoser]
77
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net90)]
8+
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net10_0)]
89
[JsonExporter]
910
public class MultiValueIndexBenchmarks
1011
{

Akade.IndexedSet.Benchmarks/PrefixIndexBenchmarks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace Akade.IndexedSet.Benchmarks;
88
[MemoryDiagnoser]
99
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
1010
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net90)]
11+
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net10_0)]
1112
[JsonExporter]
1213
public class PrefixIndexBenchmarks
1314
{

Akade.IndexedSet.Benchmarks/RangeIndexBenchmarks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace Akade.IndexedSet.Benchmarks;
66
[MemoryDiagnoser]
77
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
88
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net90)]
9+
[SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net10_0)]
910
[JsonExporter]
1011
public class RangeIndexBenchmarks
1112
{

0 commit comments

Comments
 (0)