From: Jean-Paul R. <re...@gm...> - 2022-01-16 22:22:18
|
util:system-time() does what you need. On Sun, Jan 16, 2022 at 10:34 PM 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 > |