This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / magics / execution / ExecutionMagics / _run_with_profiler

function

IPython.core.magics.execution:ExecutionMagics._run_with_profiler

source: /IPython/core/magics/execution.py :327

Signature

def   _run_with_profiler ( self code opts namespace )

Summary

Run code with profiler. Used by %prun and %run -p.

Parameters

code : str

Code to be executed.

opts : Struct

Options parsed by self.parse_options.

namespace : dict

A dictionary for Python namespace (e.g., self.shell.user_ns).

Aliases

  • IPython.core.magics.ExecutionMagics._run_with_profiler