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
| Workload (1 MB input) | Weavon 0.2.0 | ferrodoc 1.0.1 | Weavon RSS | ferrodoc RSS | Pandoc parity |
|---|---|---|---|---|---|
| CommonMark to JSON | 28.51 ms | 44.59 ms | 27.1 MiB | 47.3 MiB | Weavon exact, ferrodoc API header differs |
| JSON to JSON | 7.87 ms | 12.36 ms | 9.3 MiB | 11.1 MiB | Both exact |
| JSON to HTML | 13.95 ms | 33.43 ms | 11.1 MiB | 14.8 MiB | Weavon exact, ferrodoc has no MathML |
| JSON to HTML, no highlight | 9.52 ms | 29.56 ms | 10.2 MiB | 14.6 MiB | Weavon exact, ferrodoc has no MathML |
| JSON to LaTeX | 14.41 ms | 16.60 ms | 10.7 MiB | 11.2 MiB | Both exact |
| JSON to LaTeX, no highlight | 9.89 ms | 16.12 ms | 9.9 MiB | 11.0 MiB | Both exact |
Format and runtime scope
| Capability | Weavon 0.2.0 | ferrodoc 1.0.1 |
|---|---|---|
| Stripped ARM64 binary | 9.26 MB (8.83 MiB) | 4.92 MB (4.69 MiB) |
| Cold start (--version) | 2.65 ms, 2.5 MiB RSS | 2.20 ms, 2.3 MiB RSS |
| LaTeX reader | Included (26.06 ms for 1 MB) | Not supported |
| Lua 5.4 and citeproc | Included (468 of 468 Lua APIs, CSL 1.0.2) | Omitted |
| Embedded PDF, Office, server | All built into the single binary | Omitted |
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
--versiontakes 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.
