Skip to content

Commit

Permalink
Fix sharding benchmark streaming message counts (#6866)
Browse files Browse the repository at this point in the history
* cap total number of iterations for Sharding end to end BDN

can't wait all day for these to finish

* fix message counts
  • Loading branch information
Aaronontheweb authored Aug 1, 2023
1 parent fa561d5 commit 29cc42f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public async Task SingleRequestResponseToLocalEntity()
await _shardRegion1.Ask<ShardedMessage>(_messageToSys1);
}

[Benchmark(OperationsPerInvoke = MsgCount * BatchSize)]
[Benchmark(OperationsPerInvoke = MsgCount)]
public async Task StreamingToLocalEntity()
{
_batchActor.Tell(new BulkSendActor.BeginSend(_messageToSys1, _shardRegion1, BatchSize));
Expand All @@ -173,7 +173,7 @@ public async Task SingleRequestResponseToRemoteEntityWithLocalProxy()
await _localRouter.Ask<ShardedMessage>(new SendShardedMessage(_messageToSys2.EntityId, _messageToSys2));
}

[Benchmark(OperationsPerInvoke = MsgCount*BatchSize)]
[Benchmark(OperationsPerInvoke = MsgCount)]
public async Task StreamingToRemoteEntity()
{
_batchActor.Tell(new BulkSendActor.BeginSend(_messageToSys2, _shardRegion1, BatchSize));
Expand Down

0 comments on commit 29cc42f

Please sign in to comment.