Skip to content

Commit 08d045c

Browse files
authored
Merge branch 'main' into dependabot/nuget/src/DynamoDBGenerator.SourceGenerator/Microsoft.CodeAnalysis.CSharp-4.14.0
2 parents 5e19b62 + b1a7847 commit 08d045c

File tree

12 files changed

+34
-35
lines changed

12 files changed

+34
-35
lines changed

.github/workflows/benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: 8.0.x
19+
dotnet-version: 10.0.x
2020
- name: Run
2121
run: dotnet run --project tests/DynamoDBGenerator.SourceGenerator.Benchmarks --configuration 'Release' -- --exporters 'JSON' --filter '*Marshalling.Comparison*' --memory --job 'Default'
2222
- name: Store
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-dotnet@v3
4040
with:
41-
dotnet-version: 8.0.x
41+
dotnet-version: 10.0.x
4242
- name: Run
4343
run: dotnet run --project tests/DynamoDBGenerator.SourceGenerator.Benchmarks --configuration 'Release' -- --exporters 'JSON' --filter '*TemporalBenchmarks*' --memory --job 'Default'
4444
- name: Store
@@ -62,7 +62,7 @@ jobs:
6262
- uses: actions/checkout@v4
6363
- uses: actions/setup-dotnet@v3
6464
with:
65-
dotnet-version: 8.0.x
65+
dotnet-version: 10.0.x
6666
- name: Run
6767
run: dotnet run --project tests/DynamoDBGenerator.SourceGenerator.Benchmarks --configuration 'Release' -- --exporters 'JSON' --filter '*PrimitiveBenchmarks*' --memory --job 'Default'
6868
- name: Store
@@ -86,7 +86,7 @@ jobs:
8686
- uses: actions/checkout@v4
8787
- uses: actions/setup-dotnet@v3
8888
with:
89-
dotnet-version: 8.0.x
89+
dotnet-version: 10.0.x
9090
- name: Run
9191
run: dotnet run --project tests/DynamoDBGenerator.SourceGenerator.Benchmarks --configuration 'Release' -- --exporters 'JSON' --filter '*CollectionBenchmarks*' --memory --job 'Default'
9292
- name: Store

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup .NET
3333
uses: actions/setup-dotnet@v2
3434
with:
35-
dotnet-version: 8.0.x
35+
dotnet-version: 10.0.x
3636
- name: Restore dependencies
3737
run: dotnet restore
3838
- name: Build

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ The source generator will look for attributes and implement interfaces that exis
3939
Here's a quick summary about how this library performs with a quick example of marshalling and unmarshalling a simple
4040
DTO object.
4141

42-
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
43-
|------------------------------|-----------:|----------:|----------:|-------:|-------:|----------:|
44-
| Unmarshall_Person_DTO | 681.6 ns | 6.95 ns | 6.50 ns | 0.0553 | - | 696 B |
45-
| Amazon_Unmarshall_Person_DTO | 6,131.7 ns | 42.92 ns | 38.05 ns | 0.9155 | - | 11610 B |
46-
| Marshall_Person_DTO | 694.6 ns | 13.15 ns | 12.30 ns | 0.3052 | 0.0038 | 3840 B |
47-
| Amazon_Marshall_Person_DTO | 5,824.9 ns | 116.27 ns | 264.80 ns | 0.9460 | - | 12076 B |
42+
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
43+
|----------------------------- |-----------:|---------:|----------:|-------:|-------:|----------:|
44+
| Unmarshall_Person_DTO | 655.8 ns | 7.40 ns | 6.92 ns | 0.0553 | - | 696 B |
45+
| Amazon_Unmarshall_Person_DTO | 4,929.2 ns | 97.26 ns | 129.83 ns | 0.7935 | 0.0076 | 10041 B |
46+
| Marshall_Person_DTO | 548.0 ns | 5.46 ns | 5.11 ns | 0.3052 | 0.0038 | 3840 B |
47+
| Amazon_Marshall_Person_DTO | 4,396.5 ns | 23.98 ns | 22.43 ns | 0.9460 | - | 12084 B |
4848

4949
## Features:
5050

samples/Configuration/Configuration.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>

samples/Initialisation/Initialisation.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>

samples/KeyConversion/KeyConversion.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>

samples/RequestAndResponseObjects/RequestAndResponseObjects.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>

samples/TypeSupport/TypeSupport.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

src/DynamoDBGenerator/DynamoDBGenerator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<IsPackable>true</IsPackable>
77
<PackageVersion>0.0.0</PackageVersion>
@@ -18,6 +18,6 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="AWSSDK.DynamoDBv2" Version="4.0.6.3" />
21+
<PackageReference Include="AWSSDK.DynamoDBv2" Version="4.0.9.5" />
2222
</ItemGroup>
2323
</Project>

tests/DynamoDBGenerator.SourceGenerator.Benchmarks/DynamoDBGenerator.SourceGenerator.Benchmarks.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>
99
</PropertyGroup>
1010

1111
<ItemGroup>
1212
<PackageReference Include="AutoFixture" Version="4.18.1"/>
13-
<PackageReference Include="BenchmarkDotNet" Version="0.15.4"/>
13+
<PackageReference Include="BenchmarkDotNet" Version="0.15.6"/>
1414
</ItemGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)