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

Real-life parsers implemented in Attoparsec and Megaparsec with performance comparisons

License

Notifications You must be signed in to change notification settings

mrkkrp/parsers-bench

Repository files navigation

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.

About

Real-life parsers implemented in Attoparsec and Megaparsec with performance comparisons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published