AsyncOverheadBenchmark
Default benchmark for measuring asynchronous overhead.
class iso AsyncOverheadBenchmark is AsyncMicroBenchmark iso
Implements
Constructors
create
new iso create() : AsyncOverheadBenchmark iso^
Returns
Public Functions
name
fun box name() : String val
Returns
- String val
apply
fun ref apply( c: AsyncBenchContinue val) : None val
Parameters
- c: AsyncBenchContinue val
Returns
- None val
config
fun box config() : BenchConfig val
Returns
- BenchConfig val
overhead
fun box overhead() : AsyncMicroBenchmark iso^
Returns
- AsyncMicroBenchmark iso^
before
fun ref before( c: AsyncBenchContinue val) : None val
Parameters
- c: AsyncBenchContinue val
Returns
- None val
before_iteration
fun ref before_iteration( c: AsyncBenchContinue val) : None val
Parameters
- c: AsyncBenchContinue val
Returns
- None val
after
fun ref after( c: AsyncBenchContinue val) : None val
Parameters
- c: AsyncBenchContinue val
Returns
- None val
after_iteration
fun ref after_iteration( c: AsyncBenchContinue val) : None val
Parameters
- c: AsyncBenchContinue val
Returns
- None val
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/ponybench-AsyncOverheadBenchmark