microbench 0.1.0
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,AsyncBenchmarkandSkippedBenchmark, withSyncBenchmark.fromandAsyncBenchmark.fromfor closures.BenchmarkOptionsfor warmup, duration and batch sizing.Measurementwith median, best, worst and median absolute deviation, and JSON support.Metric.throughput,Metric.rate,Metric.runtimeandMetric.perSecond.runComparisonandComparison, rendered byMarkdownTableRenderer,HtmlTableRendererandTextTableRenderer, or serialized withtoJson.package:microbench/io.dart:ReportFile,embedFile,compileAndRunandenvironmentSummary.- Executables
microbench:embedandmicrobench:exe.