djspiewak / parseback

A Scala implementation of parsing with derivatives
http://parseback.io
Apache License 2.0
197 stars 22 forks source link

Initial benchmark work #9

Closed djspiewak closed 7 years ago

djspiewak commented 7 years ago

We'll need to refactor the build into submodules before we do this, but either way… I'd like to start accumulating some simple benchmarks. Parser benchmarks are always a bit deceptive, and we can't run them automatically, but having them in a single place would be very nice and should allow ongoing optimization (once the core stabilizes). I'd like to benchmark the following projects against each other:

There's not much point in benchmarking against non-JVM parsers.

djspiewak commented 7 years ago

Got the work started! Results are horrifying, but haven't done any tuning at all yet. More benchmarks are needed, and Beaver isn't included in the results set because it would be too depressing, but we're getting there.

https://github.com/djspiewak/parseback/tree/master/benchmarks