Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

general parsing library comparison #4

Open
unhammer opened this issue Sep 29, 2022 · 1 comment
Open

general parsing library comparison #4

unhammer opened this issue Sep 29, 2022 · 1 comment

Comments

@unhammer
Copy link
Member

(Sorry that it's not quite the right place to post this, but org's don't have issues and this repo said "parsing")

There's a nice perf comparison of parsing libs at https://gitlab.com/FinnBender/haskell-parsing-benchmarks – would it make sense to incorporate such tests in a repo here? (Or even just import it wholesale as a first step so it gets visibility? @Fybe may want to chime in )

@Fybe
Copy link

Fybe commented Oct 2, 2022

@unhammer Thank you for recommending my repo! I'd be happy to make the changes wanted, to have my repo included here.

However from briefly looking around, I think my benchmark is fundamentally unsuited to be included. Most benchmarks here seem to measure basic operations, so that if you know the approximate distribution of operations performed, you can have an educated guess for which library will perform best.

Meanwhile, I am measuring performance for one grammar. So you can only make ballpark statements like "uu-parsinglib and parsec seem to be a poor choice, if performance is important".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants