You might take a look at https://github.com/mblakele/cprof - I won't say that it solves the whole problem, but it provides utility functions that I find useful. The README.md should provide enough background to get started.
-- Mike On 16 May 2012, at 17:29 , Harry B. wrote: > What is the best way, if any, to measure and report the time it takes for > custom functions to run? I'd like to profile functions running Xpath and > cts:queries within the app, not just when called using query console. > > Thanks, > Harry > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
