Skip to main content

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

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

0.1.0 #

  • Initial release, extracted from the benchmark harness shared by hashlib, cipherlib and convertlib.
  • SyncBenchmark, AsyncBenchmark and SkippedBenchmark, with SyncBenchmark.from and AsyncBenchmark.from for closures.
  • BenchmarkOptions for warmup, duration and batch sizing.
  • Measurement with median, best, worst and median absolute deviation, and JSON support.
  • Metric.throughput, Metric.rate, Metric.runtime and Metric.perSecond.
  • runComparison and Comparison, rendered by MarkdownTableRenderer, HtmlTableRenderer and TextTableRenderer, or serialized with toJson.
  • package:microbench/io.dart: ReportFile, embedFile, compileAndRun and environmentSummary.
  • Executables microbench:embed and microbench:exe.
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