From: Len S. <le...@wi...> - 2022-01-16 21:33:27
|
I’m trying to instrument my XQL so I can see how long functions take to execute. I tried current-dateTime(), but that returns the same millisecond timestamp at all points of the code, apparently being the time the XQL started. Is there a way to do this? Marklogic seems to have xdmp:elapsed-time(), but I don’t see something similar in eXist. But even that may not work for XQL being an OOO functional language. What’s the best way to profile the latency of functions? --len |