bundles / IPython 9.11.0 / IPython / core / magics / execution / ExecutionMagics / _run_with_profiler
function
IPython.core.magics.execution:ExecutionMagics._run_with_profiler
Signature
def _run_with_profiler ( self , code , opts , namespace ) Summary
Run code with profiler. Used by %prun and %run -p.
Parameters
code: strCode to be executed.
opts: StructOptions parsed by
self.parse_options.namespace: dictA dictionary for Python namespace (e.g.,
self.shell.user_ns).
Aliases
-
IPython.core.magics.ExecutionMagics._run_with_profiler