> On Tuesday, March 5, 2002, at 01:29 PM, Jinsuo Zhang wrote: > > When I create a collection and insert tens of documents into it. > > it seems xpath will not be affected much by index, is it normal > > or I did sth wrong? It takes 5 seconds with or w/o index anyway. > > thanks. > > Woah.. 5 seconds for tens of documents. How big are these documents?
yes, It seems strange, I use command line, is it a factor? actually the xml documents are very small, about 1K bytes each. I use linux "time" command to measure time, it reports that 4 seconds is from user usage, 0.5 second for system usage. Is it because the slow start of java VM? thanks. > > -- > Tom Bradford - http://www.tbradford.org > Architect - XQRL (XQuery Engine) - http://www.xqrl.com > Apache Xindice (Native XML Database) - http://xml.apache.org/xindice > Project Labrador (Web Services Framework) - http://notdotnet.org > >
