diff options
author | Mario Corchero <mariocj89@gmail.com> | 2018-11-05 12:03:46 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2018-11-05 12:03:46 (GMT) |
commit | ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1 (patch) | |
tree | 2d5abe6b5b1f3bf01254dce0d1504930072a3d9b /Misc | |
parent | 2810dd7be9876236f74ac80716d113572c9098dd (diff) | |
download | cpython-ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1.zip cpython-ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1.tar.gz cpython-ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1.tar.bz2 |
bpo-32512: Add -m option to profile for profiling modules (#5132)
The new option in the CLI of the profile module allow to profile
executable modules. This change follows the same implementation as the
one already present in `cProfile`.
As the argument is now present on both modules, move the tests to the
common test case to be run with profile as well.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-01-07-17-43-10.bpo-32512.flC-dE.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-01-07-17-43-10.bpo-32512.flC-dE.rst b/Misc/NEWS.d/next/Library/2018-01-07-17-43-10.bpo-32512.flC-dE.rst new file mode 100644 index 0000000..0a7763d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-01-07-17-43-10.bpo-32512.flC-dE.rst @@ -0,0 +1,2 @@ +:mod:`profile` CLI accepts `-m module_name` as an alternative to +script path. |