python-parsing-benchmarks
python-parsing-benchmarks copied to clipboard
Compares Python's text parsing libraries
As discussed in https://github.com/lark-parser/lark/issues/487, code is here: https://gist.github.com/erezsh/c2b51a03273f2485317fc83e75fa162c
So, I know it took me a long time, but I started working on automatically generating graphs of the benchmarks:  It's SVG, so it's both lightweight and pretty. It's...
I made the Arithmetic test to replicate pegen's `x` test which was exhibited pathological backtracking for recursive descent. However the test as defined for these benchmarks doesn't have the same...
Initially I chose some subset of INI for a config file test thinking that the unquoted strings would be difficult, but in the end they were not, really. Changing this...
Using CI to get absolute benchmark speeds is not feasible, but it may be possible to use it for relative benchmarks. https://dev.to/quansightlabs/is-github-actions-suitable-for-running-benchmarks-111h describes "relative" as between two commits, but we...