_AutoBenchAsync[A: Any #share]

actor tag _AutoBenchAsync[A: Any #share] is
  _Benchmark tag

Implements


Constructors

create

new tag create(
  name: String val,
  notify: _BenchNotify tag,
  f: {(): Promise[A] ?}[A] val,
  timeout: U64 val,
  bench_time: U64 val = seq,
  max_ops: U64 val = seq)
: _AutoBenchAsync[A] tag^

Parameters

  • name: String val
  • notify: _BenchNotify tag
  • f: {(): Promise[A] ?}[A] val
  • timeout: U64 val
  • bench_time: U64 val = seq
  • max_ops: U64 val = seq

Returns


Public Behaviours

run

be run()

Private Behaviours

_result

be _result(
  name: String val,
  ops: U64 val,
  nspo: U64 val)

Parameters


_failure

be _failure(
  name: String val,
  timeout: Bool val)

Parameters