7. Benchmark method
Follows the programme's benchmark rules (same machine, pinned versions, warmups, median of 5, raw JSONL committed, charts generated from the JSONL).
7.1 Workloads
| id | Page | Elements | Why |
|---|---|---|---|
wiki-ww2 |
Wikipedia, World War II | ~17k | headline: a long document page |
whatwg-parsing |
WHATWG HTML, parsing chapter | ~15k | dense spec page, many links |
mdn-elements |
MDN HTML elements reference | ~2.5k | medium docs page with app chrome |
app-small |
generated 300-element app page | ~300 | the small-page risk |
Pages are recorded once to HAR (bench/pages/*.har, gitignored; the recording script and
the URL list are committed) and replayed with all other requests aborted.
7.2 Configurations
citadel-tags:runOnlytags wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa (headline).default: no options, so every rule each engine implements. Reported with the rule counts beside it, because the two engines then run different rule sets.full:runOnlyevery rule the engine lists (axe.getRules()), rule counts beside it.common:runOnlythe rules both engines list, the one configuration that runs the same rule set under both. The README headline is this configuration in exact mode.common-fast:commonwithfast: true, glance's fast mode (docs/COMPAT-FAST.md), measured under glance only (axe-core has no fast mode). Its speed-up is against axe-core undercommon, and it is always labelled as fast mode, never the headline.
7.3 Measured
inject_ms:page.evaluate(source)wall time.run_ms:axe.runwall time inside the page (performance.now()), fresh page load per sample, one warmup then median of 5.end_to_end_ms: inject plus run, which is what a Playwright test pays.- Load average beside every row; rows with a 1-minute load above 8 are discarded and rerun.
rules: the rules that ran, each counted once (lines before 2026-12-02 counted a rule once per result group its nodes landed in);nodes: the violations, passes and incomplete node counts. whole.md's "counts match" compares those three node counts with axe-core's.
7.4 Pinned
axe-core 4.14.1, Playwright 1.65.1, the Chrome Headless Shell build Playwright 1.65.1
installs, Node version from .nvmrc, viewport 1280×900. Machine model and core count are
recorded in each JSONL line.
7.5 Output
bench/whole/run.mjs appends to bench/results/whole-<date>.jsonl, one line per (workload,
configuration, engine). scripts/bench-charts.mjs reads the files bench/charts.json lists
under inputs and writes the light and dark SVG charts (assets/bench-whole{,-dark}.svg), the
full table (bench/results/whole.md) and the README's numbers between its bench-<name>
markers (bench/whole/readme.mjs: the badge, the Benchmarks summary, the Speed row, the
limits bullet and the FAQ answer). CI reruns the script and fails on any diff in those files,
so a new result is published by adding its JSONL to inputs and committing what the script
writes.