aboutsummaryrefslogtreecommitdiff
path: root/Benchmark.hs
AgeCommit message (Collapse)AuthorFilesLines
2010-12-30More accurate benchmark for normalize.John MacFarlane1-3/+6
2010-12-30New HTML reader using tagsoup as a lexer.John MacFarlane1-2/+5
* The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly.
2010-12-25Added normalize benchmark to Benchmark.hs.John MacFarlane1-2/+5
2010-12-12Benchmark: use nf for writers.John MacFarlane1-2/+2
whnf gives inaccurate results.
2010-12-10Added Benchmark.hs, testing all readers + writers using criterion.John MacFarlane1-0/+36