Liking cljdoc? Tell your friends :D

perf.core


bind-to-timbre!clj

(bind-to-timbre! log-perf?)

Adds a handler to Tufte to log stats to Timbre using a standard format. Takes an atom called log-perf? which, when dereferenced, tells us whether performance logging is currently enabled.

Adds a handler to Tufte to log stats to Timbre using a standard format.
Takes an atom called `log-perf?` which, when dereferenced, tells us whether
performance logging is currently enabled.
raw docstring

pcljmacro

(p k & body)

wrap-timingclj

(wrap-timing log-perf? handler)

Provides a compojure middleware for performing Tufte profiling. Takes an atom called log-perf? which, when dereferenced, tells us whether performance logging is currently enabled. Also takes the standard handler

Provides a compojure middleware for performing Tufte profiling. Takes an atom
called `log-perf?` which, when dereferenced, tells us whether performance
logging is currently enabled. Also takes the standard handler
raw docstring

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

× close