Dev notes: https://github.com/itsgoingd/clockwork/wiki/Development-notes
Clockwork sample: https://gist.github.com/itsgoingd/89efad5ee42c0c594d89cd6b9942a3e3
Dev notes: https://github.com/itsgoingd/clockwork/wiki/Development-notes Clockwork sample: https://gist.github.com/itsgoingd/89efad5ee42c0c594d89cd6b9942a3e3
(-construct {:keys [uri query-string headers] :as req}
res
data
{:keys [log-trace-p db-trace-p]})
(ns->ms ns0 ns1)
Difference between two nanosecond times in ms
Difference between two nanosecond times in ms
(timing type description & body)
timing lets you mark various external requests such as queries to db
timing lets you mark various external requests such as queries to db
(trace section-name & body)
trace lets you wrap sections of your code so they show up as sections on a timeline.
trace lets you wrap sections of your code so they show up as sections on a timeline.
(wrap app opts)
Ring middleware for clockwork.
app - ring app opts:
Ring middleware for clockwork. app - ring app opts: - :authorized? - check if current user is allowed to access profile information - :profile-request? - check if this request should be profiled - :store - object, satisfying clockwork.store/Storage protocol (default: in-memory) - :prefix - prefix to serve clockwork's responses under (default: /__clockwork/)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close