Thank you Jacob for your reply. Yes, I have been searching the xmlbeans API but could not find one. I did use the timestamps pre and post query execution but I am not getting the same result everytime. My project is to optimize an xquery depending on the target constraints. So I need to show that my optimized xquery executes faster than the unoptimized xquery. Can you please suggest any other procedure to get the execution time.
One more question. Is there any limitation on the size of the xml source file? Can I use source files of size 10Mb or more? Thank you Tej On Mon, Oct 24, 2011 at 12:38 AM, Jacob Danner <jacob.dan...@gmail.com>wrote: > Are you looking for some kinf of API from xmlbeans? > > When I've wanted this information I've just tossed out some timestamps to > the log pre and post query execution. Will that not work for your case? > > -jacobd > On Oct 23, 2011 6:29 PM, "tejaswi chennubhotlla" <tejaswi....@gmail.com> > wrote: > >> Hi All >> >> How do I know the time taken to execute an xquery on an xml file. >> >> Thank you >> >> Tej >> >