Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published