Skip to content

Commit b1a7847

Browse files
committed
Update benchmark examples
1 parent 5e8a494 commit b1a7847

2 files changed

Lines changed: 17 additions & 18 deletions

File tree

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

tests/DynamoDBGenerator.SourceGenerator.Benchmarks/README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@ Result:
66

77
```
88
9-
BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.4484)
10-
Intel Core Ultra 9 185H, 1 CPU, 22 logical and 16 physical cores
11-
.NET SDK 9.0.107
12-
[Host] : .NET 8.0.17 (8.0.1725.26602), X64 RyuJIT AVX2
13-
DefaultJob : .NET 8.0.17 (8.0.1725.26602), X64 RyuJIT AVX2
9+
BenchmarkDotNet v0.15.6, Windows 11 (10.0.26200.7171)
10+
Intel Core Ultra 9 185H 2.50GHz, 1 CPU, 22 logical and 16 physical cores
11+
.NET SDK 10.0.100
12+
[Host] : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v3
13+
DefaultJob : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v3
1414
1515
1616
```
17-
18-
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
19-
|------------------------------|-----------:|----------:|----------:|-------:|-------:|----------:|
20-
| Unmarshall_Person_DTO | 681.6 ns | 6.95 ns | 6.50 ns | 0.0553 | - | 696 B |
21-
| Amazon_Unmarshall_Person_DTO | 6,131.7 ns | 42.92 ns | 38.05 ns | 0.9155 | - | 11610 B |
22-
| Marshall_Person_DTO | 694.6 ns | 13.15 ns | 12.30 ns | 0.3052 | 0.0038 | 3840 B |
23-
| Amazon_Marshall_Person_DTO | 5,824.9 ns | 116.27 ns | 264.80 ns | 0.9460 | - | 12076 B |
17+
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
18+
|----------------------------- |-----------:|---------:|----------:|-------:|-------:|----------:|
19+
| Unmarshall_Person_DTO | 655.8 ns | 7.40 ns | 6.92 ns | 0.0553 | - | 696 B |
20+
| Amazon_Unmarshall_Person_DTO | 4,929.2 ns | 97.26 ns | 129.83 ns | 0.7935 | 0.0076 | 10041 B |
21+
| Marshall_Person_DTO | 548.0 ns | 5.46 ns | 5.11 ns | 0.3052 | 0.0038 | 3840 B |
22+
| Amazon_Marshall_Person_DTO | 4,396.5 ns | 23.98 ns | 22.43 ns | 0.9460 | - | 12084 B |

0 commit comments

Comments
 (0)