I just ran "ab n=10" for an atricle (with cache turned off) and deactivated
some functions to see where the slow parts are.
Full rendering : 4.99 sec
removeHTMLtags turned off : 3.319 sec
It seems removeHTMLtags is responsible for 1/3 of the *total* runtime, which
includes apache, php calling, and a thousand other things that can't be
avoided.
So, if these HTML tags are *never* used anyway, why can't we replace them
with < and > just prior to saving an edited article?
I'll be gone tomorrow until Saturday, and I doubt I can hack it today, so
it's up to you...
Magnus
Show replies by date