Add XML docs required by CommentChecker fixes
All checks were successful
NuGet Package Publish / nuget (push) Successful in 1m13s

This commit is contained in:
Joseph Doherty
2026-02-23 04:39:25 -05:00
parent cce24fa8f3
commit 6c4714f666
15 changed files with 444 additions and 15 deletions

View File

@@ -15,6 +15,9 @@ public class E2EThroughputBenchmarks
private BenchmarkPeerNode _nodeB = null!;
private int _sequence;
/// <summary>
/// Sets up benchmark nodes and prepares the cluster.
/// </summary>
[GlobalSetup]
public async Task GlobalSetupAsync()
{
@@ -58,6 +61,9 @@ public class E2EThroughputBenchmarks
await Task.Delay(500);
}
/// <summary>
/// Handles benchmark teardown for the throughput test suite.
/// </summary>
[GlobalCleanup]
public Task GlobalCleanupAsync()
{
@@ -66,6 +72,9 @@ public class E2EThroughputBenchmarks
return Task.CompletedTask;
}
/// <summary>
/// Measures local write throughput against a single node.
/// </summary>
[Benchmark(Description = "Local write throughput", OperationsPerInvoke = BatchSize)]
public async Task LocalWriteThroughput()
{
@@ -74,6 +83,9 @@ public class E2EThroughputBenchmarks
await _nodeA.UpsertUserAsync(CreateUser(userId));
}
/// <summary>
/// Measures replicated write throughput across two nodes.
/// </summary>
[Benchmark(Description = "Cross-node replicated throughput", OperationsPerInvoke = BatchSize)]
public async Task ReplicatedWriteThroughput()
{