Skip to content

Commit

Permalink
Update JSON example docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jul 25, 2018
1 parent 0905b25 commit 42a9a31
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions examples/benchmarks/json/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@
Example execution:
$ ./main.py
Parsing 'data.json' 3 times per parser. This may take a few seconds.
$ env PYTHONPATH=. python3 examples/benchmarks/json/main.py
Parsing 'examples/benchmarks/json/data.json' 1 times per parser. This may take a few seconds.
Parsing 'data.json' 3 times took:
Parsing 'examples/benchmarks/json/data.json' 1 times took:
PACKAGE SECONDS
textparser 0.325401
lark (LALR) 0.764833
pyparsing 2.144760
lark (Earley) 5.644952
parsita 6.945121
textparser 0.099870
lark (LALR) 0.252110
funcparserlib 0.349336
parsimonious 0.386092
pyparsing 0.720664
parsy 0.940929
lark (Earley) 1.823468
parsita 2.435160
$
"""
Expand Down

0 comments on commit 42a9a31

Please sign in to comment.