Skip to main content

cmd_timing

Function cmd_timing 

Source
pub fn cmd_timing(root: &Path, all: bool, last: usize, json: bool) -> Result<()>
Expand description

scc timing [--all] [--last N] [--json] — summarize extension spawn timings from ~/.cache/scc/extension.log (the same log trace timing reads for tracelayer: per-command n/total/p50/p95/max).

Per-project by default (rows whose repo path is the current root or its parent chain); --all summarizes every repository. --last N keeps only the N most recent records. --json emits the machine-readable report. Missing/empty log prints an empty table, never an error.