Skip to content

Releases: RafaelGSS/bench-node

v0.13.0

27 Nov 18:42

Choose a tag to compare

0.13.0 (2025-11-27)

Features

  • feat(reporters): support generating formatted output as string instead of writing to stdout (#128)
    • refactors reporter modules to separate formatting logic from stdout printing
    • export to<format> functions and rework some of the tests. (960cb87)
    • enables use-case where reports are consumed programmatically (e.g. regression testing, file output) instead of directly printed
    • updates json, text and csv reporters to export to<Format>() methods and adjust associated tests accordingly

v0.12.0

03 Nov 21:15

Choose a tag to compare

0.12.0 (2025-11-03)

Features

  • make minSamples option available per Suite creation (#126) (152b945)

  • plugins: export plugin memory (52bb536)

Bug Fixes

  • fix(clock): use util.debuglog and declare plugin template vars (#123) (cf96c3d)

  • fix(plugins): declare loop variable in validatePlugins (#123) (cf96c3d)

  • fix(reporter): format ops/sec as numbers for Intl.NumberFormat (#123) (cf96c3d)

  • fix(html): avoid timer shadowing and use real timer.format (#123) (cf96c3d)

  • fix(validation): enforce exclusive minTime > 1e-6 and min bounds (#123) (cf96c3d)

  • test(copy): increase minSamples to reduce variance (#123) (cf96c3d)

Miscellaneous Chores

Continuous Integration

v0.11.0

22 Sep 19:30
4985b35

Choose a tag to compare

0.11.0 (2025-09-22)

Features

  • add comparisson with other benchmark libs (#106) (19de73f)
  • Allow for configurable column width for the chart output. (#104) (315d551)
  • reduce NPM package size by adding files field to package.json (#111) (a584269)

Bug Fixes

  • optional iterations count for end(), add type tests (a4dc145)

Documentation

  • add comprehensive library comparison document (#109) (caa18a9)

Miscellaneous Chores

  • main: release 0.11.0.beta-1 (b234ce7)
  • use active versions only for bench comparisson (#107) (bf119c7)

v0.11.0-beta.1

22 Sep 19:21
a4dc145

Choose a tag to compare

v0.11.0-beta.1 Pre-release
Pre-release

What's Changed

  • Configurable column width for text and chart formatting. by @jdmarshall in #104
  • chore: add comparisson with other benchmark libs by @RafaelGSS in #106
  • chore: use active versions only for bench comparisson by @RafaelGSS in #107
  • benchmark: add comprehensive library comparison document by @lluisemper in #109
  • feat: reduce NPM package size by adding files field to package.json by @islamborghini in #111
  • exported types: add prettyReport, Timer.end() by @andrewlook in #112

New Contributors

Full Changelog: v0.10.0...v0.11.0-beta.1

v0.10.0

31 Jul 20:38
39d81dc

Choose a tag to compare

0.10.0 (2025-07-31)

Features

  • Add code coverage to the test code. (#96) (daff350)
  • add fastest/slowest value for feature parity with benchmark.js (9ad4c94)
  • Show bar chart with 2% resolution by using partial width box characters. (#97) (4c65557)

Bug Fixes

  • cpus().length is broken under docker. (#100) (c423cdd)

Styles

  • Blue works better on light terminals and still looks good on dark. (#95) (5ec0319)

Miscellaneous Chores

v0.9.0

17 Jul 22:18
2ca0e80

Choose a tag to compare

0.9.0 (2025-07-17)

Features

  • add reporterOptions support with printHeader opt (#92) (20d34e9)

v0.8.0

16 Jul 20:40
ebac341

Choose a tag to compare

0.8.0 (2025-07-16)

Features

  • add baseline and summary to pretty and text reporter (#83) (3aa57cb)
  • add pretty-reporter and shorthand pretty: true (#82) (45efe9c)
  • export bench-node ts types (#77) (d93f111)

Bug Fixes

Miscellaneous Chores

v0.7.0

15 May 13:55
2e7e56b

Choose a tag to compare

0.7.0 (2025-05-15)

Features

v0.6.0

30 Apr 17:31
81bc38f

Choose a tag to compare

0.6.0 (2025-04-30)

Features

Documentation

Miscellaneous Chores

  • start issuing semver-minor (3a261ae)

v0.5.4

13 Mar 18:06
4352266

Choose a tag to compare

0.5.4 (2025-03-13)

Features

  • expose histogram sample data to reporters via sampleData property (#67) (833bec1)