Skip to main content

profile_input

Function profile_input 

Source
pub fn profile_input(
    source: &InputSource,
    threshold: f32,
) -> Result<ProfileSummary>
Expand description

Profile Python code using the built-in cProfile via a Python subprocess. Uses a default of 100 iterations.