mediawiki-parser icon indicating copy to clipboard operation
mediawiki-parser copied to clipboard

Speedup!

Open peter17 opened this issue 13 years ago • 0 comments

Erik and I think that it should be possible to improve the speed by refactoring Pijnu.

Here are some tests performed on a Core 2 Duo @ 2 GHz:

  • http://fr.wikipedia.org/wiki/Berceuse : ~ 6 s.
  • http://fr.wikipedia.org/wiki/Shanghai : ~ 130 s. ; > 1.5 GB of RAM!

Erik pointed out that a lot of time is spent on the Recursive pattern. Maybe we can improve its speed and perhaps decrease a little its usage by adapting our patterns...

peter17 avatar Aug 04 '11 15:08 peter17