aboutsummaryrefslogtreecommitdiff
path: root/Benchmark.hs
AgeCommit message (Collapse)Author
2012-07-26Integrated benchmark into cabal.John MacFarlane
Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'
2012-07-25Fixed Benchmark to compile with latest changes.John MacFarlane
2012-07-25Moved stateLiterateHaskell to readerLiterateHaskell in Options.John MacFarlane
2012-07-25Got rid of stateStandalone, which was hardly used anyway.John MacFarlane
The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform.
2010-12-30More accurate benchmark for normalize.John MacFarlane
2010-12-30New HTML reader using tagsoup as a lexer.John MacFarlane
* 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 MacFarlane
2010-12-12Benchmark: use nf for writers.John MacFarlane
whnf gives inaccurate results.
2010-12-10Added Benchmark.hs, testing all readers + writers using criterion.John MacFarlane