Weavon and ferrodoc, compared head to head

Weavon 0.2.0 beats ferrodoc 1.0.1 on speed and peak memory in all 6 measured workloads while shipping all 129 Pandoc formats, Lua 5.4, embedded PDF, and MCP.

Six measured core workloads on Apple Silicon

  • 6 of 6Measured workloads where Weavon beats ferrodoc
  • 6 of 6Measured workloads with lower peak RSS in Weavon
  • 6 vs 3Byte-equal Pandoc 3.13 outputs across those 6 cases
  • 9.26 vs 4.92 MBFull 129-format suite vs narrower subset binary
Quiet Apple Silicon ARM64 medians for Weavon 0.2.0 and ferrodoc 1.0.1 on the 6 workloads measured in the v0.2.0 run.
Workload (1 MB input)Weavon 0.2.0ferrodoc 1.0.1Weavon RSSferrodoc RSSPandoc parity
CommonMark to JSON28.51 ms44.59 ms27.1 MiB47.3 MiBWeavon exact, ferrodoc API header differs
JSON to JSON7.87 ms12.36 ms9.3 MiB11.1 MiBBoth exact
JSON to HTML13.95 ms33.43 ms11.1 MiB14.8 MiBWeavon exact, ferrodoc has no MathML
JSON to HTML, no highlight9.52 ms29.56 ms10.2 MiB14.6 MiBWeavon exact, ferrodoc has no MathML
JSON to LaTeX14.41 ms16.60 ms10.7 MiB11.2 MiBBoth exact
JSON to LaTeX, no highlight9.89 ms16.12 ms9.9 MiB11.0 MiBBoth exact

Format and runtime scope

Capabilities included in Weavon 0.2.0 and ferrodoc 1.0.1.
CapabilityWeavon 0.2.0ferrodoc 1.0.1
Stripped ARM64 binary9.26 MB (8.83 MiB)4.92 MB (4.69 MiB)
Cold start (--version)2.65 ms, 2.5 MiB RSS2.20 ms, 2.3 MiB RSS
LaTeX readerIncluded (26.06 ms for 1 MB)Not supported
Lua 5.4 and citeprocIncluded (468 of 468 Lua APIs, CSL 1.0.2)Omitted
Embedded PDF, Office, serverAll built into the single binaryOmitted

Where ferrodoc is the better choice

  • The ferrodoc binary is 4.92 MB compared with 9.26 MB for Weavon because it leaves out the LaTeX reader, Lua 5.4, citeproc, PDF, Office writers, and HTTP server.
  • Cold process startup for --version takes 2.20 ms in ferrodoc compared with 2.65 ms in Weavon on Apple M1.
  • If you strictly need a smaller binary for a narrow set of Markdown, HTML, and JSON conversions and do not need MathML, LaTeX input, or Lua filters, ferrodoc keeps the footprint smaller.

Common questions

Why is ferrodoc smaller on disk than Weavon?

ferrodoc 1.0.1 is 4.92 MB because it omits the LaTeX reader, Lua 5.4.8, citeproc, embedded PDF, Office writers, MCP, LSP, and HTTP server. Weavon includes all of them in 9.26 MB.

Does ferrodoc convert LaTeX input?

No. ferrodoc 1.0.1 has no LaTeX reader, while Weavon parses 1 MB of LaTeX to Pandoc JSON in 26.06 ms.

Which tool is faster on CommonMark and JSON conversions?

Weavon 0.2.0 is 1.15x to 3.11x faster than ferrodoc 1.0.1 across all 6 measured workloads and uses lower peak RSS in every case.

Does ferrodoc emit Pandoc 3.13 MathML?

No. ferrodoc writes math as HTML spans with no MathML option, while Weavon matches Pandoc 3.13 MathML bytes.