Liking cljdoc? Tell your friends :D

knitty.trace

Provides functions for tracing yarn execution, parsing trace records, and merging/retreiving trace data. This namespace is used to capture and analyze detailed execution traces of yarn operations.

Provides functions for tracing yarn execution, parsing trace records,
and merging/retreiving trace data. This namespace is used to capture and
analyze detailed execution traces of yarn operations.
raw docstring

capture-trace!clj

(capture-trace! t)

Captures and returns trace data from the given tracer instance created with create-tracer. Returns the captured Trace record, or nil if tracing is disabled.

Captures and returns trace data from the given tracer instance created with `create-tracer`.
Returns the captured Trace record, or nil if tracing is disabled.
sourceraw docstring

create-tracerclj

(create-tracer input yarns)

Creates a new tracer instance for recording yarn execution traces.

Creates a new tracer instance for recording yarn execution traces.
sourceraw docstring

elide-tracing?clj

source

find-tracesclj

(find-traces poy)

Recursively extracts trace data from the given input poy. Function blocks when provided values is deferred.

Recursively extracts trace data from the given input `poy`.
Function blocks when provided values is deferred.
sourceraw docstring

find-traces*clj

(find-traces* poy)

Recursively extracts trace data from the given input poy.

If poy is a deferred value, the function recursively binds until the trace data is available. It inspects the input's metadata, ex-data, or its structure to locate the :knitty/trace key.

Recursively extracts trace data from the given input `poy`.

If `poy` is a deferred value, the function recursively binds until the trace data is available.
It inspects the input's metadata, ex-data, or its structure to locate the `:knitty/trace` key.
sourceraw docstring

if-tracingcljmacro

(if-tracing trace-body)
(if-tracing trace-body notrace-body)

Evaluates trace-body if tracing is enabled; otherwise, evaluates notrace-body if provided.

Evaluates `trace-body` if tracing is enabled; otherwise, evaluates `notrace-body` if provided.
sourceraw docstring

merge-parsed-tracesclj

(merge-parsed-traces gs)

Merges a collection of parsed trace data maps into a single aggregated trace.

Merges a collection of parsed trace data maps into a single aggregated trace.
sourceraw docstring

nowcljmacro

(now)
source

parse-traceclj

(parse-trace t)

Parses a trace record and extracts relevant timing and dependency information.

Parses a trace record and extracts relevant timing and dependency information.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close