microbench release
microbench 0.3.0
- Breaking Changes:
dart run microbenchwith no command now runs the benchmarks underbenchmark/instead of printing usage (exit code 64), and a first word that is not a command is taken as a path;runMainkeeps settings from an enclosingBenchmarkSettings.applythat its arguments do not override. runSuite(args, body): command-line options for benchmarks declared withbenchmark()andgroup().- Benchmarks declared in a plain
void main()read options from theMICROBENCH_ARGSenvironment variable, whichdart run microbenchnow sets, sodart run microbench <file> -- --quickworks withoutrunSuite. runMaintakes any setting its arguments leave out from an enclosingBenchmarkSettings.apply.- Warmup no longer runs for tens of seconds when a run is shorter than a clock tick: it is timed on one running stopwatch instead of a sum of per-run readings that rounded to 0.
dart run microbenchruns benchmarks without theruncommand name, which stays as an alias.