C# Class Akka.Tests.Performance.Dispatch.ColdDispatcherThroughputSpecBase

Base class used to test all MessageDispatcher implementations
Afficher le fichier Open project: rogeralsing/akka.net

Protected Properties

Свойство Type Description
EventBlock System.Threading.ManualResetEventSlim
ScheduledWork System.Action

Méthodes protégées

Méthode Description
Configurator ( ) : MessageDispatcherConfigurator
Warmup ( MessageDispatcher dispatcher ) : void

Warms up dispatcher prior to the benchmark running, so we can exclude initialization overhead from the results of the benchmark.

Does nothing by default (includes overhead)

Private Methods

Méthode Description
Schedule_throughput ( BenchmarkContext context ) : void
Setup ( BenchmarkContext context ) : void
Teardown ( ) : void

Method Details

Configurator() protected abstract méthode

protected abstract Configurator ( ) : MessageDispatcherConfigurator
Résultat Akka.Dispatch.MessageDispatcherConfigurator

Warmup() protected méthode

Warms up dispatcher prior to the benchmark running, so we can exclude initialization overhead from the results of the benchmark.
Does nothing by default (includes overhead)
protected Warmup ( MessageDispatcher dispatcher ) : void
dispatcher Akka.Dispatch.MessageDispatcher The implementaiton we'll be testing.
Résultat void

Property Details

EventBlock protected_oe property

Used to block the benchmark method from exiting before all scheduled work is completed
protected ManualResetEventSlim,System.Threading EventBlock
Résultat System.Threading.ManualResetEventSlim

ScheduledWork protected_oe property

protected Action,System ScheduledWork
Résultat System.Action