| Hi Xavier,
I'm trying to make the parser work as fast as possible on a
local file. So I turned off many features (cache, index
making, no file retriveing with callback) ...
But it's anyway too long. So I traced the time spent in
each fonction.
here are the result :
on a complex javascript based HTML page
(www.cookinglight.com/cooking/cooking.html)
httmirror() :260ms. //too long for me
htsparse() : 79ms // ok this is quite quick.
so I tried to know where the rest of time (the biggest part
in fact) was wasted.
129ms (the half of total time !!!) are used to desalloc the
memory at the end of httpmirror() by XH_uninit
Is there any way to reduce this time? How could I optimise
memory freeing?
Thank you
| |