dart_benchmark

Creator: coderz1093

Last updated:

0 purchases

dart_benchmark Image
dart_benchmark Images

Languages

Categories

Add to Cart

Description:

dart benchmark

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));
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.