[pmwiki-devel] MarkupToHTML in function SaveAttributes slows down performance

Hans design5 at softflow.co.uk
Thu Dec 27 06:15:04 CST 2007


I have been running some performance tests using StopWatch()
with Fox processing multiple files. I noticed that the line in the
pmwiki.php SaveAttributes function

    $html = MarkupToHTML($pagename,$text);

is causing the overall process time to more than double.
For testing I used Fox to rewrite and save multiple pages in a
different group.
With it Fox processed the 95 pages of PmWiki group in 27 sec,
by commenting out the code line this was reduced to 12.6 sec.

Question: why is this call to MarkupToHTML in function SaveAttributes?
It seems to do nothing, but I may be wrong.
Could it be removed from pmwiki.php?


~Hans




More information about the pmwiki-devel mailing list