@@ -61,17 +61,17 @@ replace it with a SmallCaps element with the same content.
61To run it, save it in a file, say `smallcaps.lua`, and invoke
61To run it, save it in a file, say `smallcaps.lua`, and invoke
62pandoc with `--lua-filter=smallcaps.lua`.
62pandoc with `--lua-filter=smallcaps.lua`.
64−Here's a quick performance comparison, using a version of the
64+Here's a quick performance comparison, converting the pandoc
65−pandoc manual, MANUAL.txt, and versions of the same filter
65+manual (MANUAL.txt) to HTML, with versions of the same JSON
66−written in compiled Haskell (`smallcaps`) and interpreted Python
66+filter written in compiled Haskell (`smallcaps`) and interpreted
67−(`smallcaps.py`):
67+Python (`smallcaps.py`):
69− Command Time
69+ Command Time
70− -------------------------------------------------- -------
70+ ----------------------------------------- -------
71− `pandoc MANUAL.txt` 1.01s
71+ `pandoc` 1.01s
72− `pandoc MANUAL.txt --filter ./smallcaps` 1.36s
72+ `pandoc --filter ./smallcaps` 1.36s
73− `pandoc MANUAL.txt --filter ./smallcaps.py` 1.40s
73+ `pandoc --filter ./smallcaps.py` 1.40s
74− `pandoc MANUAL.txt --lua-filter ./smallcaps.lua` 1.03s
74+ `pandoc --lua-filter ./smallcaps.lua` 1.03s
76As you can see, the lua filter avoids the substantial overhead
76As you can see, the lua filter avoids the substantial overhead
77associated with marshalling to and from JSON over a pipe.
77associated with marshalling to and from JSON over a pipe.