PackageTrack
Sign in Get early access

benchmark_runner

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

2.0.2 simphotonics/benchmark_runner

What this package is like to depend on

Last release 10 months ago

14 Oct 2025

Release timing varies

gaps range from 8 days to 7 months

Nearly every release is documented

notes for 18 of 18 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

18 releases · first in 2023

1 release in the last 12 months

see the full history below

Release timeline

18 releases · Sep 2023 to Oct 2025
2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 2.0.2 14 Oct 2025
    Release notes
    • Updated dependencies.
    • Applied suggested lints.
    Open source →
  2. 2.0.1 23 Apr 2025
    Release notes
    • Simplified methods measure and measureAsync.
    • Added README.md to folder gnuplot.
    Open source →
  3. 2.0.0 22 Apr 2025
    Release notes

    Breaking changes:

    • The functions benchmark and asyncBenchmark are not longer generic and now have the optional parameters: warmUpDuration, sampleSize, customEmitter.
    • The classes Benchmark and AsyncBenchmark were renamed ScoreGenerator and AsyncScoreGenerator,respectively, They no longer inherit from BenchmarkBase and AsyncBenchmarkBase and are now solely responsible for generating benchmark scores. As such, the constructor parameters description and emitter have been removed.
    • Generating the benchmark reports is delegated to ScoreEmitter.
    • The function sampleSize now returns an object of type SampleSize instead of a record.
    • The default score emitter is now StatsEmitter. To emit a report that is similar to that printed by benchmark_harness use MeanEmitter.
    Open source →
  4. 1.0.0 17 Sep 2024
    Release notes

    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.
    Open source →
  5. 0.1.9 03 Jul 2024
    Release notes
    • Changed default encoding of standard output of benchmark processes to Utf8Codec(). This enables the correct output of histograms in windows terminals with utf8 support.
    Open source →
  6. 0.1.8 30 May 2024
    Release notes
    • Updated docs.
    • Amended error reporting.
    • Formatted executable.
    Open source →
  7. 0.1.7 03 May 2024
    Release notes
    • Fixed bug in function blockHistogram that surfaced when the inter-quartile-range iqr of the score sample is zero.
    • Made benchmark report more compact.
    Open source →
  8. 0.1.6 17 Apr 2024
    Release notes
    • Format.
    • Amended link in docs.
    Open source →
  9. 0.1.5 17 Apr 2024
    Release notes
    • Made [BenchmarkHelper.sampleSize][sampleSize] a variable assignable with a user defined function. This allows changing the score sample generation customizing the relation between the single score estimate and the score sample size.
    Open source →
  10. 0.1.4 13 Apr 2024
    Release notes
    • Fixed bugs in runner (results were listed twice, exit code was always 0).
    Open source →
  11. 0.1.3 12 Apr 2024
    Release notes
    • Added progress indicator to output generated by benchmark_runner.
    • Results are now printed as soon as the individual process returns.
    Open source →
  12. 0.1.2 11 Apr 2024
    Release notes
    • Amended all links referencing the API documentation. (/doc/api -> /latest).
    Open source →
  13. 0.1.1 11 Apr 2024
    Release notes
    • Added extension BenchmarkHelper.
    • Improved calculation of sample size.
    • Extended docs, added image.
    • Added class Score.
    Open source →
  14. 0.1.0 05 Apr 2024
    Release notes
    • Added tests for class Stats.
    • ColorEmitter now scales benchmark score stats (that are larger than 1000 us).
    • Added class Score.
    Open source →
  15. 0.0.4 04 Apr 2024
    Release notes
    • Updated dependencies.
    Open source →
  16. 0.0.3 03 Apr 2024
    Release notes
    • Updated dependencies.
    • Amended README.md.
    Open source →
  17. 0.0.2 18 Sep 2023
    Release notes
    • Amended package description.
    • Formated files.
    • Amended tags.
    Open source →
  18. 0.0.1 18 Sep 2023
    Release notes
    • Initial version
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive