
The table below lists all the
prof built-in
functions (in this namespace:
http://marklogic.com/xdmp/profile).
Implements the To profile a JavaScript program, set the prof.eval built-in
function, which allow developers to profile evaluation of
Server-Side JavaScript programs. profile allow option
to true in the App Server or task server in which
the request is serviced. If you request a profile report for a JavaScript
program whose App Server does not have profiling enabled, then the profile API
does not profile the request.
| Function name | Description |
|---|---|
| prof.eval | Evaluate a string as JavaScript for profiling. |