Skip to content

Add benchmark results for every release and the develop baseline - #2733

Closed
mathiasrw wants to merge 2 commits into
developfrom
perf/historical
Closed

mathiasrw wants to merge 2 commits into
developfrom
perf/historical

Conversation

@mathiasrw

@mathiasrw mathiasrw commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Roadmap Phase 0, step 1: the baseline that every later phase is compared against.

  • test/performance/historical/: bench.js --json output on Bun and on Node for every npm release that can run the benchmark (198 releases, 0.0.16 to 4.20.1; the README lists the few left out), and for develop at 787cb25 (develop-787cb25d.*.json, the v5 baseline). Each file is the median of 5 separate runs, interleaved across builds, with spread for the variation between runs. compare.js reads the files directly.
  • test/performance/results.html: one self-contained page that shows how performance developed across releases. The page reads its numbers from a JSON block (bench-data), so updating the data does not touch the page code.
  • test/performance/README.md: how the files are named and measured, and the machine (Apple M1 Pro, Bun 1.4.3, Node 22.23.3).

Versions before 0.2.3 do not run on Bun, so their Bun values are null. meta.reportedVersion records what alasql.version returns, because most published builds report the previous version (#2731).

The develop control run in the same session matched the baseline within 1% (geometric mean) on both runtimes.

@mathiasrw

Copy link
Copy Markdown
Member Author

Superseded by #2742.

@mathiasrw mathiasrw closed this Oct 20, 2026
@mathiasrw
mathiasrw deleted the perf/historical branch October 20, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant