From: Dannes W. <di...@ex...> - 2022-01-20 13:57:15
|
Hi, Did you have a look at the tracing function of monex? The function you mention requires to return the same time, according to the w3c spec. Regards Dannes Sent from my iPhone > On 16 Jan 2022, at 22:34, Len Schultz <le...@wi...> 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 |