Liking cljdoc? Tell your friends :D

clj-memory-meter.trace


*calculate-argument-and-return-sizes*clj

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.
sourceraw docstring

*force-gc-around-traced-functions*clj

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).
sourceraw docstring

trace-varclj

(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`.
sourceraw docstring

untrace-allclj

(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.
sourceraw docstring

untrace-varclj

(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.
sourceraw docstring

with-relative-usagecljmacro

(with-relative-usage & body)
source

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

× close