File tree Expand file tree Collapse file tree
line_profiler/_child_process_profiling Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 ``sys.modules['__main__'] `` namespace to avoid issues w/e.g. pickling
88 (#423)
99* CHANGE: Drop support for Python 3.8 and Python 3.9
10+ * FEAT: Experimental support for profiling child processes with
11+ ``kernprof --prof-child-procs `` (#431)
1012
1113
12145.0.2
Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ def main():
140140 by-line`). (Default: False)
141141 --prof-child-procs [Y[es] | N[o] | T[rue] | F[alse] | on | off | 1 | 0]
142142 Extend profiling into child Python processes. Only works with
143- line profiling (`-l`/`--line-by-line`). (Default: False)
143+ line profiling (`-l`/`--line-by-line`). (EXPERIMENTAL;
144+ default: False)
144145
145146 output options:
146147 -o, --outfile OUTFILE
@@ -690,7 +691,7 @@ def _add_core_parser_arguments(parser):
690691 action = 'store_true' ,
691692 help = 'Extend profiling into child Python processes. '
692693 'Only works with line profiling (`-l`/`--line-by-line`). '
693- f'(Default : { default .conf_dict ["prof_child_procs" ]} )' ,
694+ f'(EXPERIMENTAL; default : { default .conf_dict ["prof_child_procs" ]} )' ,
694695 )
695696 out_opts = parser .add_argument_group ('output options' )
696697 if default .conf_dict ['outfile' ]:
Original file line number Diff line number Diff line change 22Tooling for profiling child Python processes and gathering their
33profiling results.
44
5- Note:
6- All contents of this subpackage is to be considered implementation
7- details.
5+ Notes:
6+ - THIS IS AN EXPERIMENTAL FEATURE.
7+
8+ - All contents of this subpackage is to be considered implementation
9+ details.
810"""
You can’t perform that action at this time.
0 commit comments