When true, clj-memory-meter.core/measure
will be called on each traced
function's argument and the returned value. Bind to false if it slows down
your evaluation too much.
When true, `clj-memory-meter.core/measure` will be called on each traced function's argument and the returned value. Bind to false if it slows down your evaluation too much.
When true, System/gc
will be called before invoking a traced function and
after it returns its result. Bind to false if it slows down your evaluation
too much (but this will make used heap measurements inaccurate).
When true, `System/gc` will be called before invoking a traced function and after it returns its result. Bind to false if it slows down your evaluation too much (but this will make used heap measurements inaccurate).
(trace-var v)
If the specified Var holds an IFn and is not marked as a macro, its
contents is replaced with a version wrapped in a tracing call;
otherwise nothing happens. Can be undone with untrace-var
.
If the specified Var holds an IFn and is not marked as a macro, its contents is replaced with a version wrapped in a tracing call; otherwise nothing happens. Can be undone with `untrace-var`.
(untrace-all)
Reverses the effect of tracing for all already traced vars and namespaces.
Reverses the effect of tracing for all already traced vars and namespaces.
(untrace-var v)
Reverses the effect of trace-var
for the given Var, replacing the traced
function with the original, untraced version. No-op for non-traced Vars.
Reverses the effect of `trace-var` for the given Var, replacing the traced function with the original, untraced version. No-op for non-traced Vars.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close