benchmarking library

Classes

AsyncBenchmark
Base class for asynchronous code.
Benchmark
Base class for benchmarks sync and async benchmarks
BenchmarkResult
BenchmarkSettings
SyncBenchmark
Base class for a synchronous code.

Functions

asyncBenchmark(String name, Future<void> fn(), {FutureOr<void> setup() = _emptyAsync, FutureOr<void> teardown() = _emptyAsync, BenchmarkSettings? settings}) Future<BenchmarkResult>
syncBenchmark(String name, void fn(), {void setup() = _empty, void teardown() = _empty, BenchmarkSettings? settings}) BenchmarkResult