Weavon and Carta, compared head to head

Weavon 0.2.0 is faster than Carta 0.0.16 on 9 of 11 workloads, uses lower peak memory on all 11, and matches Pandoc 3.13 bytes in all 11 cases compared with 4 for default Carta.

Eleven workloads on Apple Silicon ARM64

  • 9 of 11Workloads where Weavon beats Carta on median time
  • 11 of 11Workloads where Weavon uses lower peak RSS
  • 11 vs 4Byte-equal cases against Pandoc 3.13 by default
  • 9.26 vs 16.37 MBSelf-contained binary vs Carta plus syntax folder
Quiet Apple Silicon ARM64 medians for Weavon 0.2.0 and Carta 0.0.16 across 11 workloads (1 MB inputs, 106 KB DOCX).
WorkloadWeavon 0.2.0Carta 0.0.16Weavon RSSCarta RSSPandoc parity
CommonMark to JSON28.51 ms50.32 ms27.1 MiB49.4 MiBBoth exact
HTML to JSON19.53 ms25.17 ms20.0 MiB39.6 MiBWeavon exact, Carta duplicates classes
JSON to JSON7.87 ms9.71 ms9.3 MiB11.2 MiBBoth exact
JSON to HTML13.95 ms10.93 ms11.1 MiB12.0 MiBWeavon exact, Carta skips MathML
JSON to HTML, no highlight9.52 ms10.79 ms10.2 MiB11.6 MiBWeavon exact, Carta skips MathML
JSON to LaTeX14.41 ms13.21 ms10.7 MiB12.5 MiBBoth exact
JSON to LaTeX, no highlight9.89 ms14.20 ms9.9 MiB12.2 MiBBoth exact
Markdown to HTML62.61 ms62.97 ms29.3 MiB51.1 MiBWeavon exact, Carta footnote link differs
Markdown to HTML, no highlight44.82 ms63.91 ms28.2 MiB50.8 MiBWeavon exact, Carta footnote link differs
LaTeX to JSON26.06 ms41.28 ms27.3 MiB37.9 MiBWeavon exact, Carta drops caret
DOCX (106 KB) to JSON54.65 ms95.48 ms35.9 MiB120.1 MiBWeavon exact, Carta drops link title

Deployment and feature scope

Packaging and built-in capabilities of Weavon 0.2.0 and Carta 0.0.16.
AreaWeavon 0.2.0Carta 0.0.16
Install footprint9.26 MB single stripped binary, zero extra files11.52 MB binary plus 4.85 MB required syntax/ folder (16.37 MB)
Highlight languages194 built-in languages compressed inside the binaryExternal KDE XML files loaded from syntax/
Embedded PDFPure-Rust PDF 1.7 with Croscore fonts, presets, PDF/A-2u, PDF/UA-1Requires external PDF engine
Native toolsMCP, LSP, live preview, extract, redact, diff, chunk, lint, WASM filtersConverter focused on Pandoc CLI workflows

Where Carta is the better choice

  • Highlighted JSON to HTML (10.93 ms vs 13.95 ms) and highlighted JSON to LaTeX (13.21 ms vs 14.41 ms) run 1.2 to 3.0 ms faster in Carta because weavon-highlight compiles with opt-level = "z" for binary size, and Carta writes math spans instead of MathML by default.
  • Carta keeps syntax XML files unpacked on disk in a separate syntax/ directory, which is convenient if you prefer editing those XML files directly instead of passing --syntax-definition.
  • If you want to benchmark multiple Rust converters against your own documents, run both side by side and diff the output with cmp.

Common questions

Why is Carta faster on highlighted JSON to HTML and JSON to LaTeX?

Weavon compiles weavon-highlight with opt-level = "z" to keep its self-contained binary at 9.26 MB. Carta also skips MathML on json-html by default, saving work at the cost of Pandoc parity.

Does Weavon need an external syntax directory like Carta?

No. Weavon compresses all 194 built-in Pandoc 3.13 syntax definitions inside the single 9.26 MB binary and unpacks them on first use.

Which converter uses less memory?

Weavon 0.2.0 uses lower peak RSS than Carta 0.0.16 on all 11 measured workloads, from 1.08x lower on JSON to HTML to 3.35x lower on DOCX to JSON (35.9 MiB vs 120.1 MiB).

Which converter matches Pandoc 3.13 bytes more often?

Weavon matches Pandoc 3.13 byte for byte in all 11 timed cases, while default Carta 0.0.16 matches in 4 of 11 cases.