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

add more appropriate settings for Ask vs. Tell benchmarking in BDN #7248

Merged
merged 11 commits into from
Jun 12, 2024

Conversation

Aaronontheweb
Copy link
Member

Changes

add more appropriate settings for Ask vs. Tell benchmarking in BDN - the values we've been getting back have been weird

@Aaronontheweb
Copy link
Member Author


BenchmarkDotNet v0.13.12, Pop!_OS 22.04 LTS
13th Gen Intel Core i7-1360P, 1 CPU, 16 logical and 12 physical cores
.NET SDK 8.0.105
  [Host]  : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX2
  LongRun : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX2

Job=LongRun  Concurrent=True  Server=True  
InvocationCount=1  IterationCount=50  LaunchCount=3  
RunStrategy=Monitoring  UnrollFactor=1  WarmupCount=25  

Method ActorCount Mean Error StdDev Median Ratio RatioSD Req/sec
PushMsgs 1 94.94 ns 3.025 ns 11.04 ns 93.53 ns 1.00 0.00 10,532,979.55
AskMsgs 1 346.64 ns 16.281 ns 59.40 ns 338.68 ns 3.69 0.72 2,884,829.46
PushMsgs 10 289.37 ns 26.886 ns 98.09 ns 301.02 ns 1.00 0.00 3,455,767.90
AskMsgs 10 2,692.99 ns 77.923 ns 284.29 ns 2,760.64 ns 10.12 2.92 371,334.08
PushMsgs 100 10,215.05 ns 318.374 ns 1,161.53 ns 10,478.60 ns 1.00 0.00 97,894.74
AskMsgs 100 16,367.79 ns 1,575.982 ns 5,749.67 ns 15,945.30 ns 1.65 0.75 61,095.59

@Aaronontheweb
Copy link
Member Author

The numbers still look funny for the higher actor counts but I might be able to chalk that up to the overhead of the routing + more context switching

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) June 12, 2024 00:55
@Aaronontheweb Aaronontheweb merged commit 260aee9 into akkadotnet:dev Jun 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant