C# Class FoundationDB.Samples.Benchmarks.BenchRunner

Inheritance: IAsyncTest
Exibir arquivo Open project: BedeGaming/foundationdb-dotnet-client

Public Methods

Method Description
BenchRunner ( BenchMode mode, int value = 1 ) : Doxense.Mathematics.Statistics
Init ( IFdbDatabase db, CancellationToken ct ) : Task

Setup the initial state of the database

Run ( IFdbDatabase db, TextWriter log, CancellationToken ct ) : Task

Method Details

BenchRunner() public method

public BenchRunner ( BenchMode mode, int value = 1 ) : Doxense.Mathematics.Statistics
mode BenchMode
value int
return Doxense.Mathematics.Statistics

Init() public method

Setup the initial state of the database
public Init ( IFdbDatabase db, CancellationToken ct ) : Task
db IFdbDatabase
ct System.Threading.CancellationToken
return Task

Run() public method

public Run ( IFdbDatabase db, TextWriter log, CancellationToken ct ) : Task
db IFdbDatabase
log System.IO.TextWriter
ct System.Threading.CancellationToken
return Task