Re: [xml] How many entrys a xml file could support?
- From: Arx Henrique <arxcruz gmail com>
- To: veillard redhat com, xml gnome org
- Subject: Re: [xml] How many entrys a xml file could support?
- Date: Fri, 26 Aug 2005 10:52:40 -0200
thanks a lot!
On 8/26/05, Daniel Veillard <veillard redhat com> wrote:
On Fri, Aug 26, 2005 at 10:38:01AM -0200, Arx Henrique wrote:
i'm use xml to storage this information, and show it in a GtkTreeView,
so, if i have 5000 entries, is this will be slow to show? i think so,
paphio:~ -> ls -l tst5000.xml
-rw-rw-r-- 1 veillard www 580015 Aug 26 14:46 tst5000.xml
paphio:~/gamin -> wc -l tst5000.xml
paphio:~ -> /usr/bin/xmllint --timing --noout tst5000.xml
Parsing took 75 ms
Freeing took 41 ms
I can't tell for the GtkTreeView and rendering but libxml2 should parse
it in less than a tenth of a second, in most use case xml parsing speed
is I/O bound !
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
"A fé remove montanas, mas eu prefiro a dinamite"
] [Thread Prev