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
410 Views Asked by alfredopacino At
1
There are 1 best solutions below
Related Questions in XQUERY
- Error connecting UWP app to Arduino by USB
- Need xaml ellipse to contain two fill colors that can move up or down like filling a gas tank
- OAuth in PlayReady License Retrieval in UWP
- Cannot set combobox selected item opening a view
- UWP MediaPlayerElement Backwards Compatibility
- How to completely close/release a WebView after it has loaded a youtube link?
- My application has no rights on any folder
- UWP Get Rotation Value (Angle) from Storyboard Animation During or After
- How to load images to a page as soon as they are loaded from a folder in UWP
- How to store setting with UWP C#?
Related Questions in EXIST-DB
- Error connecting UWP app to Arduino by USB
- Need xaml ellipse to contain two fill colors that can move up or down like filling a gas tank
- OAuth in PlayReady License Retrieval in UWP
- Cannot set combobox selected item opening a view
- UWP MediaPlayerElement Backwards Compatibility
- How to completely close/release a WebView after it has loaded a youtube link?
- My application has no rights on any folder
- UWP Get Rotation Value (Angle) from Storyboard Animation During or After
- How to load images to a page as soon as they are loaded from a folder in UWP
- How to store setting with UWP C#?
Related Questions in EXIDE
- Error connecting UWP app to Arduino by USB
- Need xaml ellipse to contain two fill colors that can move up or down like filling a gas tank
- OAuth in PlayReady License Retrieval in UWP
- Cannot set combobox selected item opening a view
- UWP MediaPlayerElement Backwards Compatibility
- How to completely close/release a WebView after it has loaded a youtube link?
- My application has no rights on any folder
- UWP Get Rotation Value (Angle) from Storyboard Animation During or After
- How to load images to a page as soon as they are loaded from a folder in UWP
- How to store setting with UWP C#?
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.