Loading TOC...

prof functions

The table below lists all the prof built-in functions (in this namespace: http://marklogic.com/xdmp/profile).

Implements the prof.eval built-in function, which allow developers to profile evaluation of Server-Side JavaScript programs.

To profile a JavaScript program, set the 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.

1 function
Function name Description
prof.eval Evaluate a string as JavaScript for profiling.