Hi.

I started development on a dwiki to HTML converter. Check out the
project and be sure to check out the following comparison stats with
Wikimedia parser and Parsoid.

dwiki project: https://codeberg.org/Dusan_Krehel/dwiki

Speed comparison:

Input test file:
https://codeberg.org/Dusan_Krehel/dwiki/src/branch/official/examples/speed_testing.wiki
CPU: AMD A4-5000, 4 cores, 1500 MHz
Methodology: I skip the first 3 tests and a average the other next 10 tests.

Output statistics:
Real time   | Program/implementation
0.000333s | dwiki
0.000275s | dwiki_editor
0.016512s | Wikimedia parser [1]
1.260279s | Parsoid [2]

[1] mediawiki-core-1.39.0, plus the one change: the value print on all
decimal places (one edit line:
https://github.com/wikimedia/mediawiki/blob/3d65c37ba466d8646ba1b2f03d936a4598df243e/includes/parser/Parser.php#L796)
[2] The time of the function transformFromWt():
https://github.com/wikimedia/parsoid/blob/f44568161ba0fff71486904c02811a4d925e2142/bin/parse.php#L529

Dušan Kreheľ
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to