Liking cljdoc? Tell your friends :D

kaocha.plugin.scenari-slowest-steps

--slowest-steps N: after the run, the N step definitions that took the most time, all their calls added up.

Grouped by glue rather than by step: a suite of 3 000 steps runs 400 glues, and a glue that costs 50 ms is spread over every scenario that calls it. The time per scenario is kaocha's own profiling plugin's job.

Each step carries its :duration-ns, measured by scenari.v2.core/run-step around the glue call. The walk is scenari-doc's: it reads the result tree.

`--slowest-steps N`: after the run, the N step definitions that took the most
time, all their calls added up.

Grouped by glue rather than by step: a suite of 3 000 steps runs 400 glues, and
a glue that costs 50 ms is spread over every scenario that calls it. The time
per scenario is kaocha's own profiling plugin's job.

Each step carries its `:duration-ns`, measured by `scenari.v2.core/run-step`
around the glue call. The walk is scenari-doc's: it reads the result tree.
raw docstring

reportclj

(report glues)
source

scenari-slowest-steps-cli-options-hookclj

(scenari-slowest-steps-cli-options-hook opts)
source

scenari-slowest-steps-config-hookclj

(scenari-slowest-steps-config-hook config)
source

scenari-slowest-steps-hooksclj

source

scenari-slowest-steps-post-run-hookclj

(scenari-slowest-steps-post-run-hook result)
source

slowest-gluesclj

(slowest-glues result n)

{:glue :calls :total-ns :max-ns} per glue, the most expensive first. Steps without a glue or a duration (never run) are left out.

`{:glue :calls :total-ns :max-ns}` per glue, the most expensive first. Steps
without a glue or a duration (never run) are left out.
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