Releases: mtkennerly/kelonio
Releases · mtkennerly/kelonio
Release list
v0.12.0 (2026-05-31)
- Added:
MeasureOptions.warmups, a number of times to run the function before measuring its performance.
v0.11.0 (2025-05-08)
- Added:
- In
measure(), the measured function now has access to the return value ofbeforeEach(), andafterEach()now has access to the return values ofbeforeEach()and the measured function. (Contributed by berndfuhrmann)
- In
v0.10.0 (2023-12-04)
- Changed:
-
A few improvements were made to avoid the need for Node polyfills in the browser:
- Replaced
browser-process-hrtimewithbrowser-hrtime - Replaced
eventswitheventemitter3 - Removed reporter re-exports from root module (because Jest reporter requires
fs)
- Replaced
-
v0.9.0 (2023-02-19)
- Added:
- A
totalDurationfield in theMeasurementclass and related output in the reporting. This is mainly useful whenserialis false, so you can see the total real time spent. (Contributed by stephenh)
- A
v0.8.0 (2022-05-12)
- Added:
- Support for an
extensionsoption in each reporter. Currently, this allows printing extra reports after the main one.
- Support for an
v0.7.0 (2021-10-08)
- Added:
Benchmark.measurementsgetter for a list ofMeasurementfrom the rawBenchmark.data.Benchmark.find()andCriteriato determine the fastest/slowest measurement.Measurement.descriptionfield, which is used byBenchmark.measurementsandBenchmark.find()so that each measurement retains its context.
- Fixed:
- Updated mathjs dependency to resolve a security vulnerability. (Contributed by buge)
v0.6.0 (2021-03-01)
- Added
keepStateAtStartoption for the Jest reporter. (Contributed by thomaschaplin)
v0.5.0 (2021-02-11)
- Added
printReportAtEndreporter option. (Contributed by thomaschaplin) - Fixed an error in the Jest reporter when no Kelonio tests were executed. (Contributed by thomaschaplin)
v0.4.0 (2021-02-05)
- Added
keepStateAtEndoption for the Jest reporter. (Contributed by thomaschaplin and electblake) - Added
marginOfErrorUnderandstandardDeviationUndermeasurement options. (Contributed by thomaschaplin)
v0.3.0 (2019-11-22)
- 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.jsas an alternative to writing your ownjest.setup.jsto callJestReporter.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.jstokelonio/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
baseDescriptionfromBenchmarksince that can now be handled directly in reporters via the new emitter.