AsyncBenchmarkBase class
Methods
-
exercise()
→ Future<void>
-
Exercises the benchmark. By default invokes run once.
-
measure()
→ Future<double>
-
Measures the score for the benchmark and returns it.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
report()
→ Future<void>
-
Run the benchmark and report results on the emitter.
-
run()
→ Future<void>
-
The benchmark code.
-
setup()
→ Future<void>
-
Not measured setup code executed prior to the benchmark runs.
-
teardown()
→ Future<void>
-
Not measures teardown code executed after the benchark runs.
-
toString()
→ String
-
A string representation of this object.
inherited
-
warmup()
→ Future<void>
-
Runs a short version of the benchmark. By default invokes run once.
Static Methods
-
measureFor(Future<void> f(), int minimumMillis)
→ Future<double>
-
Measures the score for this benchmark by executing it repeately until
time minimum has been reached.