summaryrefslogtreecommitdiff
path: root/benchmark/benchmark-pandoc.hs
Commit message (Collapse)AuthorAge
* Fix stale references to `tests` directory (#3469)Or Neeman2017-02-25
| | | | | Some of the benchmarks were failing due to references to files in the `tests` directory, which is now called `test`. A search found other references to it also. This commit updates all these references.
* benchmark: allow benchmark arguments.John MacFarlane2017-01-27
| | | | | | These pattern match: so, '--benchmark-arguments "markdown reader"' will only benchmark the markdown reader; with just "markdown" it will do the writer too; with no arguments all benchmarks are run.
* Fix up benchmarks so they compile.John MacFarlane2017-01-27
|
* Fixed up weigh-pandoc and benchmark-pandoc so they build.John MacFarlane2017-01-25
|
* Removed unused import.John MacFarlane2016-11-30
|
* Fixed benchmark for new API.John MacFarlane2015-12-14
|
* Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane2015-11-09
| | | | This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
* Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* Use custom Prelude to avoid compiler warnings.John MacFarlane2015-10-14
| | | | | | | | | | | | | - 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.
* Removed unneeded imports in benchmark program.John MacFarlane2015-10-09
|
* Updated benchmark program.John MacFarlane2015-10-09
|
* benchmark: Use Criterion.Monad not Criterion.Config.John MacFarlane2015-10-09
|
* benchmark - removed kludge we needed before CommonMark writer.John MacFarlane2015-03-30
|
* Merge branch 'errortype' of https://github.com/mpickering/pandoc into ↵John MacFarlane2015-03-28
|\ | | | | | | | | | | | | | | | | | | | | 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
| * Update benchmarksMatthew Pickering2015-02-18
| |
* | Added CommonMark reader using cmark (libcmark bindings).John MacFarlane2015-03-17
|/ | | | | | | | - 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.
* benchmark: use only test suite for benchmark.John MacFarlane2014-08-01
| | | | This way the benchmarks don't take so long to run.
* Use nfIO in benchmark instead of getLength trick.John MacFarlane2014-08-01
|
* Make benchmarks compile again.Artyom Kazak2014-08-01
| | | | | Additionally, fix the problem which caused one failing benchmark to stop other benchmarks from running.
* Update copyright notices for 2014, add missing noticesAlbert Krewinkel2014-05-09
|
* benchmark: Remove haddock (no writer to create reader input).John MacFarlane2013-09-10
|
* Revised benchmark for new metadata.John MacFarlane2013-06-25
|
* Use aeson for json.John MacFarlane2013-06-24
| | | | Benchmarked: about twice as slow as json!
* Updated benchmark code for changes in Text.Pandoc.John MacFarlane2013-01-04
|
* Fixed benchmark file to find documentation files.John MacFarlane2012-12-29
|
* Data files changes.John MacFarlane2012-12-29
| | | | | | | | | | * 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.
* Changes to literate haskell options.John MacFarlane2012-08-08
| | | | | | | | | | | - 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.
* Benchmark: default to sample size of 20 for speed.John MacFarlane2012-07-27
|
* Use README + testsuite in benchmarks.John MacFarlane2012-07-27
|
* Moved WriterOptions and associated types Shared -> Options.John MacFarlane2012-07-26
|
* Added type signature.John MacFarlane2012-07-26
|
* Integrated benchmark into cabal.John MacFarlane2012-07-26
Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'