Skip to main content

perf_path_for_output

Function perf_path_for_output 

Source
pub fn perf_path_for_output(output_arg: &str) -> String
Expand description

Returns the profiling report path for one CLI prefix.

--perf is intentionally a boolean switch, so profiling output always lands in a predictable sibling file without forcing the user to invent another path on the command line.