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