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.
(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.
(create-tracer input yarns)
Creates a new tracer instance for recording yarn execution traces.
Creates a new tracer instance for recording yarn execution traces.
(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.
(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.
(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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |