time taken to execute an xquery

tejaswi chennubhotlla <[email protected]> Mon, 24 Oct 2011 09:36:53 -0400
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <CACNW4bG98mZcyZknLRr7SfhorzCqJcC16sAgT0bTAoG_w8x-hg@mail.gmail.com>
Hi Jacob

Thank you 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