[][src]Function observability::test_run_timed_ice

pub fn test_run_timed_ice(
    path: Option<&str>
) -> Result<Option<impl Drop>, TracingError>

Generate a flamegraph from timed spans "idle time". Takes a path where you are piping the output into. If the path is provided a flamegraph will automatically be generated. TODO: Get auto inferno to work for now use (fish, or the bash equiv): 2>| inferno-flamegraph -c blue > flamegraph_test_ice_(date +'%d-%m-%y-%X').svg And run with cargo test --quiet