What The WorkPaper Benchmark Proves

May 29, 2026 ยท View on GitHub

Status: public benchmark explainer for @bilig/headless

This page is the short, shareable version of the WorkPaper benchmark claim. It turns checked-in artifacts into a plain-English evaluation guide without inflating what the benchmark can prove.

WorkPaper benchmark card showing current comparable mean wins and the named worst p95 row

The Claim

The all-provider source of truth is packages/benchmarks/baselines/headless-performance-leadership-scorecard.json. The short artifact name is headless-performance-leadership-scorecard.json. It currently reports goal status achieved: 100/100 comparable workloads win on both mean and p95 latency across 5 comparison engines and 2 workbook-wide engines.

Comparison engines: HyperFormula, TrueCalc, Univer, xlsx-calc, IronCalc Rust.

ProviderCoverage tierMean+p95 winsMean winsp95 winsMean geomean ratiop95 geomean ratioUnsupported
HyperFormulaworkbook-wide100/100100/100100/1000.2586x0.2807x0
Univerworkbook-wide100/100100/100100/1000.0028x0.0034x0
IronCalc Rustworkbook-wide-limited90/9090/9090/900.124x0.1686x10 unsupported
xlsx-calcworkbook-wide-limited16/1616/1616/160.0839x0.0786x0
TrueCalcscalar-formula7/77/77/70.1837x0.2359x0

Ratios below 1.0x mean WorkPaper is faster on that metric. The table is not hand-maintained marketing copy; pnpm public:evidence:check verifies it against the checked artifacts.

Primary Workbook-Wide Lane

The current checked-in WorkPaper-vs-HyperFormula artifact records WorkPaper 100/100 mean-latency wins on scorecard-eligible comparable workloads:

LaneComparable WorkloadsWorkPaper Mean WinsHyperFormula Mean Wins
Overall1001000
Public73730
Holdout27270

The artifact was generated at 2026-05-23T17:51:04.599Z.

The overall directional mean-ratio geomean is 0.2586071973976171, and the overall directional p95-ratio geomean is 0.2806672128213908. The headless leadership scorecard records 100/100 workloads winning both mean and p95 against HyperFormula.

The current worst p95 row is sheet-rename-dependencies, where the current WorkPaper-to-HyperFormula p95 ratio is 0.7917355369127405.

What It Proves

It proves that the checked-in WorkPaper runtime leads the current comparable headless benchmark suite on both mean and p95 latency for every comparable row represented in the all-provider scorecard.

The covered families include workbook build and rebuild paths, runtime restore from snapshot, sheet lifecycle, named expressions, dirty execution, batch edits, structural row and column edits, range reads, aggregations, conditional aggregation, and lookup workloads.

It also proves the public claim is auditable from the repository. The expected scorecard shape is checked by:

pnpm headless:performance:check
pnpm public:evidence:check

What It Does Not Prove

It does not prove that bilig is a complete Excel clone.

It does not prove full formula parity with Excel, Google Sheets, or every other formula engine.

It does not prove future p95 rows will stay faster after new workloads are added. The honest claim is that the checked headless runtime leads this comparable suite today, not that every future workbook shape is covered.

It does not count unsupported rows as wins. IronCalc Rust currently has 10 unsupported workload adapters recorded explicitly in its artifact.

It does not prove that browser-grid rendering, import/export, collaboration, or every user workload is faster. This benchmark is about the headless WorkPaper runtime path.

If the artifacts are regenerated and the scorecard changes, the public claim must change with them.

How To Verify

For the benchmark evidence, start with:

Run the checked gates:

pnpm workpaper:bench:competitive:check
pnpm workpaper:bench:univer:check
pnpm workpaper:bench:ironcalc-rust:check
pnpm workpaper:bench:xlsx-calc:check
pnpm workpaper:bench:truecalc:check
pnpm headless:performance:check
pnpm public:evidence:check

Shareable Copy

Short:

bilig's WorkPaper benchmark currently records 100/100 comparable workloads winning both mean and p95 across the all-provider headless performance scorecard. The public page names the providers, coverage tiers, artifacts, and unsupported rows.

Reply-sized:

the useful part is the audit trail: checked benchmark artifacts, verify commands, and public drift guards. the claim is not "faster at everything"; it is 100/100 mean+p95 wins for the current comparable headless WorkPaper scorecard across HyperFormula, Univer, IronCalc Rust, xlsx-calc, and TrueCalc.