(measure name & body)
(measure &form &env name & body)
Use this at layer boundaries in code. Not recommended for tight loops - may cause out-of-memory situation!
Use this at layer boundaries in code. Not recommended for tight loops - may cause out-of-memory situation!
(print-table nested-metrics)
(print-table name-column-width nested-metrics)
(print-table table-printer name-column-width nested-metrics)
Print the report in a tabular format. Argument table-printer is an arity-2 fn that accepts header and rows.
Print the report in a tabular format. Argument table-printer is an arity-2 fn that accepts header and rows.
(report f & body)
(report &form &env f & body)
Use this at the outermost periphery of the code.
Use this at the outermost periphery of the code.
(wrap-measure f measure-name)
Wrap given function such that it measures latency when invoked.
Wrap given function such that it measures latency when invoked.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close