| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
See #3169.
|
| |
|
|
|
|
| |
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
|
|
|
|
|
|
|
| |
This is needed for ghci to work with pandoc, given that we
now use a custom prelude.
Closes #2503.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|/
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
This way the benchmarks don't take so long to run.
|
| |
|
|
|
|
|
| |
Additionally, fix the problem which caused one failing benchmark
to stop other benchmarks from running.
|
| |
|
| |
|
| |
|
|
|
|
| |
Benchmarked: about twice as slow as json!
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
|
Can now do:
cabal configure --enable-benchmarks && cabal build
cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'
|