C# Класс Akka.Tests.Performance.Dispatch.ColdDispatcherThroughputSpecBase

Base class used to test all MessageDispatcher implementations
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
EventBlock System.Threading.ManualResetEventSlim
ScheduledWork System.Action

Защищенные методы

Метод Описание
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)

Приватные методы

Метод Описание
Schedule_throughput ( BenchmarkContext context ) : void
Setup ( BenchmarkContext context ) : void
Teardown ( ) : void

Описание методов

Configurator() защищенный абстрактный Метод

protected abstract Configurator ( ) : MessageDispatcherConfigurator
Результат Akka.Dispatch.MessageDispatcherConfigurator

Warmup() защищенный Метод

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.
Результат void

Описание свойств

EventBlock защищенное свойство

Used to block the benchmark method from exiting before all scheduled work is completed
protected ManualResetEventSlim,System.Threading EventBlock
Результат System.Threading.ManualResetEventSlim

ScheduledWork защищенное свойство

protected Action,System ScheduledWork
Результат System.Action