Skip to main content

microbench 0.3.1 copy "microbench: ^0.3.1" to clipboard
microbench: ^0.3.1 copied to clipboard

Zero-dependency microbenchmark harness for Dart: robust timing, comparison tables in Markdown, HTML or text, JSON output, and README embedding.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate microbench

Use it

The package has the following executables:

$ embed
$ exe
$ microbench

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add microbench

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  microbench: ^0.3.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:microbench/microbench.dart';
1
likes
0
points
0
downloads

Publisher

verified publisherbitanon.dev

Weekly Downloads

Zero-dependency microbenchmark harness for Dart: robust timing, comparison tables in Markdown, HTML or text, JSON output, and README embedding.

Repository (GitHub)
View/report issues

Topics

#benchmark #performance #profiling #testing

Funding

Consider supporting this project:

paypal.me

License

unknown (license)

More

Packages that depend on microbench