Skip to content

v0.2.0-2

Pre-release
Pre-release
Compare
Choose a tag to compare
@jerome-benoit jerome-benoit released this 07 Apr 15:59
· 393 commits to master since this release
c791a7f

Fixed

  • Fix measure() asynchronous implementation.
  • Fix percentiles computation.
  • Fix inconsistent benchmark behavior: the samples statistical significance
    shall be done on the same measurement base.

Changed

  • Add clear() benchmark clearing primitive.
  • Optimize JavaScript runtime environment detection code (constify environment
    variables).
  • Add IQR samples outlier detection and removal.
  • Add standard deviation to JSON report.
  • Add samples: number to run() options specifying the minimum number of
    benchmark samples.
  • Add
    options: { before: () => void | Promise<void>; after: () => void | Promise<void> }
    to bench() and baseline() specifying callbacks to run before and after the
    benchmark.
  • Add
    { before: () => void | Promise<void>; after: () => void | Promise<void> } to
    group() specifying callbacks to run before and after the group.
  • Add iter/s to report.
  • Add package publication GitHub workflow.