bench 0.0.5
bench: ^0.0.5 copied to clipboard
a micro benchmark library for dart
Bench #
A micro benchmark library for dart.
Bench uses the MIT license as described in the LICENSE file, and semantic versioning.
Benchmarking for Dart #
There has been a fair amount of [discussion] (https://groups.google.com/a/dartlang.org/group/misc/) lately regarding [benchmarking of code on the Dart VM] (http://www.dartlang.org/articles/benchmarking/). Bench is being written with the goal of making it easy to quickly write reliable benchmark functions for the Dart VM.
Usage #
- See the [examples] (https://github.com/rmsmith/bench/blob/master/example/bench_example.dart).
Known Issues #
- Bench uses [mirrors] (http://api.dartlang.org/docs/bleeding_edge/dart_mirrors.html) which are currently not supported by dart2js.
- Bench must be run in the same isolate as the benchmark functions; remote invocations of a benchmark function may not make sense, but could be supported. This would be of particular interest to support a command line utility.