Skip to content
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 948 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 948 Bytes

Parsers bench

License BSD3 CircleCI

This repo contains a collection of identical parsers implemented in Attoparsec and Megaparsec from its current master branch. The purpose here is to learn how much Attoparsec is actually faster than Megaparsec for common parsing tasks. We do not focus on microbenchmarks here. The benchmarks will be used to guide design of Megaparsec 6.

To generate Criterion report with stack, execute:

$ stack bench parsers-bench:bench-speed --benchmark-arguments=-oreport.html
$ stack bench parsers-bench:bench-memory

License

Copyright © 2017–2018 Mark Karpov

Distributed under BSD 3 clause license.