26.342. Class UploadBenchClient
Namespace: ArmoniK.Core.Tests.UploadBench
Assembly: ArmoniK.Core.Tests.UploadBench.dll
Client to perform the upload benchmark
public class UploadBenchClient : IAsyncDisposable
26.342.1. Inheritance
26.342.2. Implements
26.342.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
26.342.4. Constructors
26.342.4.1. UploadBenchClient(GrpcClient, UploadBench, ILoggerFactory)
Construct the benchmark client
public UploadBenchClient(GrpcClient clientOptions, UploadBench options, ILoggerFactory loggerFactory)
26.342.4.1.1. Parameters
clientOptions GrpcClient
Options for the gRPC client
options UploadBench
Options for the benchmark
loggerFactory ILoggerFactory
Logger factory
26.342.5. Methods
26.342.5.1. Cancel()
Cancel the benchmark runners
public void Cancel()
26.342.5.2. CreateSessionAsync()
Create a new session in which the benchmark will run
public Task CreateSessionAsync()
26.342.5.2.1. Returns
26.342.5.3. DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
public ValueTask DisposeAsync()
26.342.5.3.1. Returns
A task that represents the asynchronous dispose operation.
26.342.5.4. PrintMeasurements()
Print the measurements that were collected during the run
public void PrintMeasurements()
26.342.5.5. RunAll()
Run the benchmark on multiple threads
public Task RunAll()