Skip to content

Commit 3977afc

Browse files
committed
Change order of benchmarks
1 parent 94f9257 commit 3977afc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/DynamoDBGenerator.SourceGenerator.Benchmarks/Benchmarks/Marshalling/ComparisonBenchmarks.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ namespace DynamoDBGenerator.SourceGenerator.Benchmarks.Benchmarks.Marshalling;
1010
[DynamoDBMarshaller(EntityType = typeof(Person))]
1111
public partial class ComparisonBenchmarks
1212
{
13-
private readonly AWSComparisonBenchmarkHelper<Person, Person, PersonNames, PersonValues> _marshaller = PersonMarshaller.ToAwsComparisonHelper();
13+
private readonly AWSComparisonBenchmarkHelper<Person, Person, PersonNames, PersonValues> _marshaller =
14+
PersonMarshaller.ToAwsComparisonHelper();
1415

1516
[Benchmark]
1617
public Person Unmarshall_Person_DTO() => _marshaller.Unmarshall();
1718

1819
[Benchmark]
19-
public Dictionary<string, AttributeValue> Marshall_Person_DTO() => _marshaller.Marshall();
20+
public Person Amazon_Unmarshall_Person_DTO() => _marshaller.Unmarshall_AWS();
2021

2122
[Benchmark]
22-
public Person Amazon_Unmarshall_Person_DTO() => _marshaller.Unmarshall_AWS();
23+
public Dictionary<string, AttributeValue> Marshall_Person_DTO() => _marshaller.Marshall();
2324

2425
[Benchmark]
2526
public Dictionary<string, AttributeValue> Amazon_Marshall_Person_DTO() => _marshaller.Marshall_AWS();

0 commit comments

Comments
 (0)