Liking cljdoc? Tell your friends :D

taoensso.timbre.profiling

DEPRECATED, further development work will be focused on Tufte at https://github.com/ptaoussanis/tufte.

DEPRECATED, further development work will be focused on
Tufte at https://github.com/ptaoussanis/tufte.
raw docstring

*pdata*clj

{::pid {:times [t1 t2 ...] ; Times awaiting merge into stats :ntimes _ ; (count times) :stats {} ; Cumulative stats }}

{::pid {:times [t1 t2 ...] ; Times awaiting merge into stats
 :ntimes _          ; (count times)
 :stats {}          ; Cumulative stats
}}
sourceraw docstring

capture-time!clj

(capture-time! id t-elapsed)
source

defnpclj/smacro

(defnp name doc-string? attr-map? [params*] prepost-map? body)
(defnp name doc-string? attr-map? ([params*] prepost-map? body) + attr-map?)

Like defn but wraps fn bodies with p macro.

Like `defn` but wraps fn bodies with `p` macro.
sourceraw docstring

fn-sigsclj

(fn-sigs fn-name sigs)

Implementation detail.

Implementation detail.
sourceraw docstring

fnpclj/smacro

(fnp name? ([params*] prepost-map? body) +)
(fnp name? [params*] prepost-map? body)

Like fn but wraps fn bodies with p macro.

Like `fn` but wraps fn bodies with `p` macro.
sourceraw docstring

format-statsclj

(format-stats stats & [sort-field])
source

fq-keywordclj/smacro

(fq-keyword id)

Returns namespaced keyword for given id.

Returns namespaced keyword for given id.
sourceraw docstring

merge-times>stats!clj

(merge-times>stats!)
(merge-times>stats! id)
source

pclj/smacro

(p id & body)
source

p*clj

source

profileclj/smacro

(profile level id & body)

When logging is enabled, executes named body with profiling enabled. Body forms wrapped in (pspy) will be timed and time stats logged. Always returns body's result.

Note that logging appenders will receive both a formatted profiling string AND the raw profiling stats under a special :profiling-stats key (useful for queryable db logging).

When logging is enabled, executes named body with profiling enabled. Body
forms wrapped in (pspy) will be timed and time stats logged. Always returns
body's result.

Note that logging appenders will receive both a formatted profiling string AND
the raw profiling stats under a special :profiling-stats key (useful for
queryable db logging).
sourceraw docstring

pspyclj/smacro

(pspy id & body)

Profile spy. When in the context of a pdata binding, records execution time of named body. Always returns the body's result.

Profile spy. When in the context of a *pdata* binding, records execution time
of named body. Always returns the body's result.
sourceraw docstring

pspy*clj

source

sampling-profileclj/smacro

(sampling-profile level probability id & body)

Like profile, but only enables profiling with given probability.

Like `profile`, but only enables profiling with given probability.
sourceraw docstring

with-pdataclj/smacro

(with-pdata level & body)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close