How can I get a reliable measure of the execution time of an XQuery in eXist-db? It seems like eXide takes into account even the render of the results in the browser, am I wrong?
Get execution time of XQuery in eXist
409 Views Asked by alfredopacino At
1
There are 1 best solutions below
Related Questions in XQUERY
- XQuery "flattening" an element
- XQuery: Select a node in the context of a variable
- Need to remove timezone from current-date() xquery
- Basic Xquery CRUD samples equivalent to SQL Select, Insert, Delete or Update
- MS SQL XQuery xs:base64Binary returns NULL
- SQL Server XML Update Serialized Array based on compound XQuery
- BaseX XQuery error: root(): no context value bound
- MarkLogic 8 - XQuery write large result set to a file efficiently
- MarkLogic 8 - After upgrade we are getting 405 Method Not Allowed on a GET
- Conditionally creating formatted string from elements and attributes in XQuery
- BaseX: Updates are not written back
- XQuery: Updating nodes based on the updates made in the same query
- How to find the lowest common ancestor of two nodes in XQuery?
- Clean and convert HTML to XML for BaseX
- Selecting the sibling or niece of the loop varaible in "for" loop in XQuery
Related Questions in EXIST-DB
- How do I validate a password in eXist-db 2.2 via the XMLDB-embedded java API?
- XQuery HTML array input
- XQuery multi-filter search algorithm
- Trouble using xmldb:store with collection name with space
- eXist-db getting data from many XMLs of the same collection
- Exist-DB: REST GET to stored XProc file (xpl extension) returns error
- exist-db : Issues with ant task xdb:adduser or xdb:users : no such handler
- How to create an index for an attribute in exist-db
- How to break caching on exist-db of included XSLs in Transform
- XQuery fuzzy search in exist-db
- error in Xquery update ( eXistdb)
- eXist: is it possible to have XQuery modules stored in XML files?
- When saving a form in Orbeon Form Builder I get an error
- XQuery for loop producing duplicate results
- XML versus MongoDB
Related Questions in EXIDE
- How to show more than 10 results in eXide (eXist-db)?
- eXist-db ft:query returning zero result while running eXide or oxygen
- robots for exide using FLWOR
- Concat adds double quotes
- Exist DB XQuery: How to make an HTTP POST Request
- eXide not show any results on screen
- Can't get attribute values or get Error XQDY0025 in XQuery
- How do I get the xpath for SVG element with linearGradient defs?
- Unable to properly edit unicode characters in eXide
- Get execution time of XQuery in eXist
- ft:query-field from within an eXist app
- eXist-db eXide editor not showing collections
- Xquery err:XPST0017 Function parse-json()
- XQuery error XPST0003 syntax error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
eXide measures only the time required to execute the query, not to render the results in the browser or serialize the results. (To confirm, see the eXide source where queries are executed and the duration is measured: https://github.com/wolfgangmm/eXide/blob/develop/controller.xql#L155-L193. The first timestamp taken on line 159 and the 2nd on 189-90.)
You can measure the duration of your own queries using this same technique:
Another common approach is to log this message or send it to the Monex app's console. For this, use
util:log()(built-in) orconsole:log()(requires Monex, which if not already installed can be installed from the Dashboard > Package Manager).Also, see the XQuery Wikibook's entry, https://en.wikibooks.org/wiki/XQuery/Timing_a_Query.
Note: Updated with suggestion by Gunther from comments below.