Changes

Jump to navigation Jump to search
303 bytes added ,  17:58, 23 November 2017
|-
| '''Examples'''
|* Return a human-readable representation of the memory consumption caused by fetching an XML document (<code>fetch:xml</code> is used, as <code>fn:doc</code> may already be evaluated at compilation time):<pre class="brush:xquery">prof:track(fetch:xml('factbook.xml'))?memory=> prof:human()</pre>* The function call <code>prof:track((1 to 1000000)[. mod 2 = 0])</code> will return something similar to:
<pre class="brush:xquery">
map {
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu