W3cubDocs

/Pony

AsyncOverheadBenchmark

[Source]

Default benchmark for measuring asynchronous overhead.

class iso AsyncOverheadBenchmark is
  AsyncMicroBenchmark iso

Implements

Constructors

create

[Source]

new iso create()
: AsyncOverheadBenchmark iso^

Returns

Public Functions

name

[Source]

fun box name()
: String val

Returns

apply

[Source]

fun ref apply(
  c: AsyncBenchContinue val)
: None val

Parameters

Returns

config

[Source]

fun box config()
: BenchConfig val

Returns

overhead

[Source]

fun box overhead()
: AsyncMicroBenchmark iso^

Returns

before

[Source]

fun ref before(
  c: AsyncBenchContinue val)
: None val

Parameters

Returns

before_iteration

[Source]

fun ref before_iteration(
  c: AsyncBenchContinue val)
: None val

Parameters

Returns

after

[Source]

fun ref after(
  c: AsyncBenchContinue val)
: None val

Parameters

Returns

after_iteration

[Source]

fun ref after_iteration(
  c: AsyncBenchContinue val)
: None val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/ponybench-AsyncOverheadBenchmark