dart_benchmark 1.0.0

Dart native js
Flutter Android iOS web

A simple benchmarking library for Dart.

A simple benchmarking library for Dart.

Usage #

A simple usage example:

Future<void> main() async {
  await DartBenchmark('Slow Benchmark', () {
    return slowThingy();
  }, count: 3, warmup: false)
      .run(); // If you want to run synchronously use runSync.
}

Future<void> slowThingy() async {
  await Future.delayed(Duration(seconds: 1));
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
90
pub points
13%
popularity

A simple benchmarking library for Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

hexer504@gmail.com

License

BSD (LICENSE)

Dependencies

quick_log

More

Packages that depend on dart_benchmark