Conditional Profiling for MarkLogic
December 14, 2011 at 03:16 PM | categories: XQuery, MarkLogic | View CommentsToday I pushed cprof to GitHub.
This XQuery library helps application developers
who need to retrofit existing applications with profiling capabilities.
Just replace all your existing calls to
xdmp:eval, xdmp:invoke, xdmp:value,
xdmp:xslt-eval, and xdmp:xslt-eval with corresponding cprof: calls.
Add a little logic around cprof:enable and cprof:report, and you are done.



