[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Performance of LPeg 1.0.2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 3 Sep 2019 09:39:02 -0300
> I have used LPeg 1.0.1 for parsing lua and json for a long time.
> Recently I update the LPeg to 1.0.2, and found that the speed of parsing is much slower than it was in 1.0.1 .
> I did a test that create a simple json parser to parse a json file for 1000 times, in 1.0.1 it takes abort 0.59 sec and in 1.0.2 it takes abort 1.269 sec.
I tried to reproduce your experiment, but in my setting I get basically
the same time for 1.0.1 and 1.0.2 (~0.27 sec).