Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/main/xar-resources/data/xquery/xquery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,16 @@
<programlisting language="xml" xlink:href="listings/listing-36.xml"/>
</listitem>
</varlistentry>
<varlistentry>
<term> <code>exist:profiling</code> </term>
<listitem>
<para>Enables profiling for a query and logs the results.
For example:</para>
<programlisting>(# exist:profiling enabled=yes verbosity=10 logger=xquery.profiling #) { //some/path/expression }</programlisting>
<para>This enables the profiler for the expression enclosed in curly braces and
prints profiling information to the xquery.profiling logger (e.g. profile.log):</para>
</listitem>
</varlistentry>
<varlistentry>
<term> <code>exist:batch-transaction</code> </term>
<listitem>
Expand Down