The new pragma {# exist:time #} is severely under documented. I figured out a setup that will work from code comments and trial and error
(# exist:time verbose=yes/no logger-name=xquery.profiling logging-level=TRACE log-message-prefix=this-is-mandatory #) {
//p (: any expression to be timed :)
}
to be added here https://exist-db.org/exist/apps/doc/xquery.xml#pragmas
The new pragma
{# exist:time #}is severely under documented. I figured out a setup that will work from code comments and trial and errorto be added here https://exist-db.org/exist/apps/doc/xquery.xml#pragmas