Webfold
Menu

Benchmark · Directional

LaTeX conversion with BibTeX

superdocuments' reader converts LaTeX to Markdown about 6 times faster than Pandoc 3.1.3. That is 5 to 13 times per file. Pandoc could not convert three of five BibTeX files. The fixtures are hand-made. The Webfold command line does not route the reader.

superdocuments' LaTeX reader against Pandoc 3.1.3. BibTeX reader too. Hand-made fixtures.

Last updated , the newest measurement or check on record for this page.

Run: 6 November 2026

What question does this benchmark ask?

How fast does each tool turn LaTeX into Markdown? How fast for BibTeX references? Do they agree on structure?

How was it run?

  • 16 hand-made LaTeX files and 5 BibTeX files. Median of 20 runs per command, process start included, one core.
  • Pandoc 3.1.3 (-f latex -t markdown, -f bibtex -t csljson) against the superdocuments command line.

What are the results?

LaTeX to Markdown, median per file, millisecondsShorter is better
superdocuments CLI
3.97 ms
Pandoc
23.97 ms
MeasurementsuperdocumentsPandoc
LaTeX to Markdown, median of 16 files3.97 ms23.97 ms (6.0 times)
Per-file speed-up, median and range7.1 times5.3 to 13.4 times
Structural differences0 on 14 of 16 files2 on one figures file
BibTeX files converted5 of 52 of 5
BibTeX, the two files Pandoc converted4.02 and 3.27 ms23.99 and 53.15 ms (6.0 and 16 times)

About 6 times faster than Pandoc on LaTeX, and 5 to 13 times on every file. Pandoc could not convert three of the five BibTeX files at all (two syntax errors, one a parenthesis-delimited entry and one a missing comma, and one out-of-memory on a cross-reference cycle).

What does this not show?

Know the limits

  • Hand-made fixtures, 16 LaTeX and 5 BibTeX files. Not a TeX engine: packages are not loaded, and Pandoc covers many more packages and macros.
  • Only two BibTeX files could be timed on both sides. The sources do not say which tool is right on the two disagreeing figures counts.
  • Hardware is not recorded. The command-line tool only: this reader is in superdocuments and in the revision Webfold pins, but the Webfold command line does not route .tex files. The run is from 6 November, before the Pandoc-layout rewrite of the reader, and the speed was not measured again.

Source: superdocuments: benches/latex-vs-pandoc/results.json, run-stdout.txt, disagreements.txt

Which other benchmarks are there?

Check it on your own pages.

Run the command-line tool on your content.