aboutsummaryrefslogtreecommitdiff
path: root/benchmark
AgeCommit message (Collapse)AuthorFilesLines
2016-11-30Removed unused import.John MacFarlane1-1/+0
2016-11-18Added weigh-pandoc for memory usage diagnostics.John MacFarlane1-0/+37
See #3169.
2015-12-14Fixed benchmark for new API.John MacFarlane1-2/+2
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane1-1/+0
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane1-0/+1
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2015-10-14Use custom Prelude to avoid compiler warnings.John MacFarlane1-1/+0
- The (non-exported) prelude is in prelude/Prelude.hs. - It exports Monoid and Applicative, like base 4.8 prelude, but works with older base versions. - It exports (<>) for mappend. - It hides 'catch' on older base versions. This allows us to remove many imports of Data.Monoid and Control.Applicative, and remove Text.Pandoc.Compat.Monoid. It should allow us to use -Wall again for ghc 7.10.
2015-10-09Removed unneeded imports in benchmark program.John MacFarlane1-2/+0
2015-10-09Updated benchmark program.John MacFarlane1-6/+3
2015-10-09benchmark: Use Criterion.Monad not Criterion.Config.John MacFarlane1-1/+1
2015-03-30benchmark - removed kludge we needed before CommonMark writer.John MacFarlane1-6/+1
2015-03-28Merge branch 'errortype' of https://github.com/mpickering/pandoc into ↵John MacFarlane1-4/+6
mpickering-errortype Conflicts: benchmark/benchmark-pandoc.hs src/Text/Pandoc/Readers/Markdown.hs src/Text/Pandoc/Readers/Org.hs src/Text/Pandoc/Readers/RST.hs tests/Tests/Readers/LaTeX.hs
2015-03-17Added CommonMark reader using cmark (libcmark bindings).John MacFarlane1-6/+12
- Added commonmark as an input format. - Added `Text.Pandoc.Readers.CommonMark.readCommonMark`. - For now, we use the markdown writer to generate benchmark text for the CommonMark reader. We can change this when we get a writer.
2015-02-18Update benchmarksMatthew Pickering1-3/+5
2014-08-01benchmark: use only test suite for benchmark.John MacFarlane1-3/+2
This way the benchmarks don't take so long to run.
2014-08-01Use nfIO in benchmark instead of getLength trick.John MacFarlane1-3/+1
2014-08-01Make benchmarks compile again.Artyom Kazak1-15/+20
Additionally, fix the problem which caused one failing benchmark to stop other benchmarks from running.
2014-05-09Update copyright notices for 2014, add missing noticesAlbert Krewinkel1-1/+17
2013-09-10benchmark: Remove haddock (no writer to create reader input).John MacFarlane1-1/+2
2013-06-25Revised benchmark for new metadata.John MacFarlane1-2/+1
2013-06-24Use aeson for json.John MacFarlane1-8/+1
Benchmarked: about twice as slow as json!
2013-01-04Updated benchmark code for changes in Text.Pandoc.John MacFarlane1-3/+3
2012-12-29Fixed benchmark file to find documentation files.John MacFarlane1-3/+3
2012-12-29Data files changes.John MacFarlane1-3/+3
* Added `embed_data_files` flag. (not yet used) * Shared no longer exports `findDataFile`. * `readDataFile` now returns a strict bytestring. * Shared now exports `readDataFileUTF8` which returns a string like the old `readDataFile`. * Rewrote modules to use new data file functions and to avoid using functions from Paths_pandoc directly.
2012-08-08Changes to literate haskell options.John MacFarlane1-10/+3
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
2012-07-27Benchmark: default to sample size of 20 for speed.John MacFarlane1-1/+6
2012-07-27Use README + testsuite in benchmarks.John MacFarlane1-1/+2
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-2/+2
2012-07-26Added type signature.John MacFarlane1-0/+1
2012-07-26Integrated benchmark into cabal.John MacFarlane1-0/+46
Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'