map { 'parallel': 8 }
)
</syntaxhighlight>
* Parallel sleep function calls. The function is expected to finish in 1 second if the system has at least 2 cores:
<syntaxhighlight lang="xquery">
let $f := function() { prof:sleep(1000) }
return xquery:fork-join(($f, $f))
</syntaxhighlight>
</syntaxhighlight>
|- valign="top"