Re: [xml] Performance xmlXPathEvalExpression




Shirazi Babak wrote:
I tried this with a 10 MB file:

   *doc = xmlReadFile(ucFilename, NULL, XML_PARSE_COMPACT | XML_PARSE_NOBLANKS);

Without xmlParseFile : over 10 minutes
With Xml ReadFile : Over 6 minutes

This is an enhancement but not acceptable either.

That's already 40%, not bad for a one-liner.

So, did it swap? How much memory did it use? Where did it spend the time?

Stefan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]