benchmark_runner 1.0.0 copy "benchmark_runner: ^1.0.0" to clipboard
benchmark_runner: ^1.0.0 copied to clipboard

A library for writing inline micro-benchmarks, running sync/async benchmarks, reporting and exporting score statistics.

1.0.0 #

Breaking changes:

  • The command benchmark_runner now has subcommands report and export.
  • The functions benchmark and asyncBenchmark are now generic and accept the optional parameters:
    • E extents ColorPrintEmitter emitter,
    • report(instance, emitter){}, where instance is an instance of Benchmark or AsyncBenchmark, respectively. The callback can be can be used to pass benchmark scores to the emitter.

0.1.9 #

  • Changed default encoding of standard output of benchmark processes to Utf8Codec(). This enables the correct output of histograms in windows terminals with utf8 support.

0.1.8 #

  • Updated docs.
  • Amended error reporting.
  • Formatted executable.

0.1.7 #

  • Fixed bug in function blockHistogram that surfaced when the inter-quartile-range iqr of the score sample is zero.
  • Made benchmark report more compact.

0.1.6 #

  • Format.
  • Amended link in docs.

0.1.5 #

  • Made BenchmarkHelper.sampleSize a variable assignable with defined function. This allows changing the benchmark runtime by customizing the relation between score estimate and score sample size.

0.1.4 #

  • Fixed bugs in runner (results were listed twice, exit code was always 0).

0.1.3 #

  • Added progress indicator to output generated by benchmark_runner.
  • Results are now printed as soon as the individual process returns.

0.1.2 #

  • Amended all links referencing the API documentation. (/doc/api -> /latest).

0.1.1 #

  • Added extension BenchmarkHelper.
  • Improved calculation of sample size.
  • Extended docs, added image.
  • Added class Score.

0.1.0 #

  • Added tests for class Stats.
  • ColorEmitter now scales benchmark score stats (that are larger than 1000 us).
  • Added class Score.

0.0.4 #

  • Updated dependencies.

0.0.3 #

  • Updated dependencies.
  • Amended README.md.

0.0.2 #

  • Amended package description.
  • Formated files.
  • Amended tags.

0.0.1 #

  • Initial version
2
likes
160
pub points
27%
popularity

Publisher

verified publishersimphotonics.com

A library for writing inline micro-benchmarks, running sync/async benchmarks, reporting and exporting score statistics.

Repository (GitHub)
View/report issues

Topics

#benchmark #async #inline #histogram #statistics

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ansi_modifier, args, benchmark_harness, exception_templates, lazy_memo, path

More

Packages that depend on benchmark_runner