Re: [xml] Performance xmlXPathEvalExpression
- From: Stefan Behnel <stefan_ml behnel de>
- To: Shirazi Babak <Babak Shirazi datasystems at>
- Cc: xml gnome org
- Subject: Re: [xml] Performance xmlXPathEvalExpression
- Date: Tue, 14 Aug 2007 11:10:47 +0200
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]