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
- How does corb job picks docs in marklogic?
- How to parse from xml to json in xquery
- marklogic corb run is generating one file for each uri
- Convert HTML strings in JSON input to XML nodes
- Xml text with prefix and element in-scope namespace declaration
- xquery output as markdown table
- XQuery "except" expression is not producing a desired result
- eXist-DB Index setup fails during installation in Docker Container
- Find newest document in MarkLogic temporal stack even if deleted
- namespace prefix not declared basex
- XSLT substracting Amount
- Xquery: retrieving values from documents and put then into a single map
- How to pass a variable to XQuery using XQilla in C++
- SQL Server XQuery always returning null
- clear database of marklogic
Related Questions in EXIST-DB
- eXist-db cli automated workflow for adding a large number of zip files
- Trying to embed existDB in my Java Project
- Check if DWH tables existing in a dynamic way
- eXist-DB Index setup fails during installation in Docker Container
- Can Saxon XSLT save XML to eXist-db?
- Range Index not applied to field in eXist-DB (not shown in Monex)
- Configuring Saxon for MySQL
- Problem Serializing Node Set to Print Label
- How to Call a Data Service using ExPath HTTP Client from third-part application?
- Why there is a Significant delay in xquery response time despite indexing the elements in existdb
- XQuery in eXist-DB: not using index
- Setting recoveryPolicyName through Transformer Attributes in eXist-db
- Nest two Xqueries for aggregation of the output over xml documents collection
- Cannot create application in eXide
- How to pass the values of request:get-parameter to the variables in Xquery to be used in a XSLT template to generate a HTML output
Related Questions in EXIDE
- How do I get the xpath for SVG element with linearGradient defs?
- Exist DB XQuery: How to make an HTTP POST Request
- robots for exide using FLWOR
- Concat adds double quotes
- Xquery err:XPST0017 Function parse-json()
- XQuery error XPST0003 syntax error
- eXist-db eXide editor not showing collections
- eXist-db ft:query returning zero result while running eXide or oxygen
- ft:query-field from within an eXist app
- Get execution time of XQuery in eXist
- How to show more than 10 results in eXide (eXist-db)?
- Unable to properly edit unicode characters in eXide
- Can't get attribute values or get Error XQDY0025 in XQuery
- eXide not show any results on screen
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 # Hahtags
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.