Skip to content

Releases: mtkennerly/kelonio

v0.12.0 (2026-05-31)

Choose a tag to compare

@mtkennerly mtkennerly released this 01 Jun 02:28
v0.12.0
bfae5f1
  • Added:
    • MeasureOptions.warmups, a number of times to run the function before measuring its performance.

v0.11.0 (2025-05-08)

Choose a tag to compare

@mtkennerly mtkennerly released this 08 May 04:31
f332cd5
  • Added:
    • In measure(), the measured function now has access to the return value of beforeEach(), and afterEach() now has access to the return values of beforeEach() and the measured function. (Contributed by berndfuhrmann)

v0.10.0 (2023-12-04)

Choose a tag to compare

@mtkennerly mtkennerly released this 04 Dec 08:08
bc2ac47
  • Changed:
    • A few improvements were made to avoid the need for Node polyfills in the browser:

      • Replaced browser-process-hrtime with browser-hrtime
      • Replaced events with eventemitter3
      • Removed reporter re-exports from root module (because Jest reporter requires fs)

      (Contributed by haven2world)

v0.9.0 (2023-02-19)

Choose a tag to compare

@mtkennerly mtkennerly released this 19 Feb 11:56
6429ad0
  • Added:
    • A totalDuration field in the Measurement class and related output in the reporting. This is mainly useful when serial is false, so you can see the total real time spent. (Contributed by stephenh)

v0.8.0 (2022-05-12)

Choose a tag to compare

@mtkennerly mtkennerly released this 12 May 10:24
dd1da2c
  • Added:
    • Support for an extensions option in each reporter. Currently, this allows printing extra reports after the main one.

v0.7.0 (2021-10-08)

Choose a tag to compare

@mtkennerly mtkennerly released this 09 Oct 00:28
  • Added:
    • Benchmark.measurements getter for a list of Measurement from the raw Benchmark.data.
    • Benchmark.find() and Criteria to determine the fastest/slowest measurement.
    • Measurement.description field, which is used by Benchmark.measurements and Benchmark.find() so that each measurement retains its context.
  • Fixed:

v0.6.0 (2021-03-01)

Choose a tag to compare

@mtkennerly mtkennerly released this 01 Mar 14:24

v0.5.0 (2021-02-11)

Choose a tag to compare

@mtkennerly mtkennerly released this 11 Feb 05:39

v0.4.0 (2021-02-05)

Choose a tag to compare

@mtkennerly mtkennerly released this 11 Feb 05:39

v0.3.0 (2019-11-22)

Choose a tag to compare

@mtkennerly mtkennerly released this 23 Nov 04:52
  • Added a reporter for Karma and a corresponding example project.
  • Adjusted Kelonio so that it can work in the browser (at least in conjunction with something like Browserify).
  • Added kelonio/out/plugin/jestReporterSetup.js as an alternative to writing your own jest.setup.js to call JestReporter.initializeKelonio().
  • Added Benchmark.events, an event emitter.
  • Added Benchmark.incorporate() for reporters to add data more easily in response to events.
  • Moved the compiled reporters from kelonio/out/*Reporter.js to kelonio/out/plugin/*Reporter.js. This allows more easily accommodating export requirements for various frameworks, while still being able to export the classes normally from Kelonio's entry point.
  • Removed data serialization and baseDescription from Benchmark since that can now be handled directly in reporters via the new emitter.