Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added HashCodeMessageExtractor benchmarks #5215

Conversation

Aaronontheweb
Copy link
Member

#5203 (comment) - doesn't capture the boxing mentioned here, but I want some baseline numbers to compare against a statically typed generic version of this.

@Aaronontheweb Aaronontheweb merged commit 6a3c04a into akkadotnet:dev Aug 19, 2021
@Aaronontheweb Aaronontheweb deleted the perf/sharding-HashCodeMessageExtractor branch August 19, 2021 14:43
@Aaronontheweb
Copy link
Member Author

BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19041.1165 (2004/May2020Update/20H1)
AMD Ryzen 7 1700, 1 CPU, 16 logical and 8 physical cores
.NET SDK=5.0.302
  [Host]     : .NET Core 3.1.17 (CoreCLR 4.700.21.31506, CoreFX 4.700.21.31502), X64 RyuJIT
  DefaultJob : .NET Core 3.1.17 (CoreCLR 4.700.21.31506, CoreFX 4.700.21.31502), X64 RyuJIT

Method Mean Error StdDev Median Gen 0 Allocated
RouteShardEnvelope 48.95 ns 0.340 ns 0.318 ns 48.89 ns 0.0076 32 B
RouteTypedMessage 45.78 ns 0.954 ns 1.593 ns 44.95 ns 0.0076 32 B

@Aaronontheweb
Copy link
Member Author

Perf here looks ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant