From: <sju...@mr...> - 2022-01-16 22:07:49
|
Hi Len, we utilize eXist profiler for this purpose. Cheers, Sava On 2022-01-16 12:00, Len Schultz wrote: > 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 > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |