Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
byme8 authored Dec 25, 2024
1 parent 9066fa0 commit 5f40738
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,21 +294,21 @@ public record GetUserQuery(int id) : GraphQL<Query, User?>
Here results:
``` ini

BenchmarkDotNet=v0.13.2, OS=macOS 14.5 (23F79) [Darwin 23.5.0]
BenchmarkDotNet=v0.13.2, OS=macOS 15.0.1 (24A348) [Darwin 24.0.0]
Apple M3 Max, 1 CPU, 14 logical and 14 physical cores
.NET SDK=8.0.301
[Host] : .NET 8.0.6 (8.0.624.26715), Arm64 RyuJIT AdvSIMD
DefaultJob : .NET 8.0.6 (8.0.624.26715), Arm64 RyuJIT AdvSIMD
.NET SDK=9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), Arm64 RyuJIT AdvSIMD
DefaultJob : .NET 9.0.0 (9.0.24.52809), Arm64 RyuJIT AdvSIMD


```
| Method | Mean | Error | StdDev | Gen0 | Allocated |
|--------------------------- |---------:|---------:|---------:|-------:|----------:|
| Raw | 68.65 μs | 0.277 μs | 0.231 μs | 0.6104 | 5.34 KB |
| StrawberryShake | 73.48 μs | 0.362 μs | 0.321 μs | 1.3428 | 11.58 KB |
| ZeroQLLambdaWithoutClosure | 69.55 μs | 0.376 μs | 0.351 μs | 0.7324 | 6.74 KB |
| ZeroQLLambdaWithClosure | 70.43 μs | 0.439 μs | 0.410 μs | 0.8545 | 7.22 KB |
| ZeroQLRequest | 69.95 μs | 0.439 μs | 0.366 μs | 0.7324 | 6.32 KB |
| Raw | 64.68 μs | 0.409 μs | 0.383 μs | 0.4883 | 5.32 KB |
| StrawberryShake | 69.06 μs | 0.371 μs | 0.347 μs | 1.3428 | 11.79 KB |
| ZeroQLLambdaWithoutClosure | 66.61 μs | 0.457 μs | 0.428 μs | 0.8545 | 7.07 KB |
| ZeroQLLambdaWithClosure | 66.90 μs | 0.419 μs | 0.392 μs | 0.8545 | 7.55 KB |
| ZeroQLRequest | 66.47 μs | 0.488 μs | 0.457 μs | 0.7324 | 6.65 KB |

As you can see, the ``Raw`` method is the fastest.
The ``ZeroQL`` method is a bit faster than the ``StrawberryShake`` method.
Expand Down

0 comments on commit 5f40738

Please sign in to comment.