René's URL Explorer Experiment


Title: bpo-32512: Add -m option to profile for profiling modules by mariocj89 · Pull Request #5132 · python/cpython · GitHub

Open Graph Title: bpo-32512: Add -m option to profile for profiling modules by mariocj89 · Pull Request #5132 · python/cpython

X Title: bpo-32512: Add -m option to profile for profiling modules by mariocj89 · Pull Request #5132 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Port of #4297 to the pure python profile module. The patch adds a new option -m that allows the profile CLI to run modules as scripts. https://bugs.python.org/issue32512

X Description: Port of #4297 to the pure python profile module. The patch adds a new option -m that allows the profile CLI to run modules as scripts. https://bugs.python.org/issue32512

Opengraph URL: https://github.com/python/cpython/pull/5132

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ec0f34b9-da57-4254-2a08-74f1a60ba522
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA626:E2378:6714502:904F8C5:6A4FB6E1
html-safe-nonce0e856bf1211c945e8903c997800ba7602e813ac080e09ad1e4ee06b10c44e667
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjI2OkUyMzc4OjY3MTQ1MDI6OTA0RjhDNTo2QTRGQjZFMSIsInZpc2l0b3JfaWQiOiIzMjg2MzcwNTg4NTQxNTY0NjQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd78da6b2edabfb7870f43ba99f6559a36f56566089b6af53b667e2ff71e3cefe
hovercard-subject-tagpull_request:161531764
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/5132/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5b5ec3aba4f686e78f80d9940bcf814aeba96eab9d241e6b5330f9f112ff1797/python/cpython/pull/5132
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5b5ec3aba4f686e78f80d9940bcf814aeba96eab9d241e6b5330f9f112ff1797/python/cpython/pull/5132
og:image:altPort of #4297 to the pure python profile module. The patch adds a new option -m that allows the profile CLI to run modules as scripts. https://bugs.python.org/issue32512
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemariocj89
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/5132#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5132
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5132
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/5132
Reloadhttps://github.com/python/cpython/pull/5132
Reloadhttps://github.com/python/cpython/pull/5132
Please reload this pagehttps://github.com/python/cpython/pull/5132
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/5132
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
ncoghlanhttps://github.com/ncoghlan
python:masterhttps://github.com/python/cpython/tree/master
mariocj89:profile_modulehttps://github.com/mariocj89/cpython/tree/profile_module
Conversationhttps://github.com/python/cpython/pull/5132
Commits2 (2)https://github.com/python/cpython/pull/5132/commits
Checkshttps://github.com/python/cpython/pull/5132/checks
Files changedhttps://github.com/python/cpython/pull/5132/files
bpo-32512: Add -m option to profile for profiling moduleshttps://github.com/python/cpython/pull/5132#top
ncoghlanhttps://github.com/ncoghlan
python:masterhttps://github.com/python/cpython/tree/master
mariocj89:profile_modulehttps://github.com/mariocj89/cpython/tree/profile_module
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jan 7, 2018https://github.com/python/cpython/pull/5132#issue-286586598
Please reload this pagehttps://github.com/python/cpython/pull/5132
#4297https://github.com/python/cpython/pull/4297
https://bugs.python.org/issue32512https://bugs.python.org/issue32512
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jan 7, 2018https://github.com/python/cpython/pull/5132#event-1412814428
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 7, 2018https://github.com/python/cpython/pull/5132#event-1412814429
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jan 7, 2018https://github.com/python/cpython/pull/5132#event-1412814673
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jan 7, 2018https://github.com/python/cpython/pull/5132#event-1412835085
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
force-pushedhttps://github.com/python/cpython/compare/09ed95e368c92346fc95b0780430dc4b4343a310..06d56f4a4a50c2d64622128a389f49341ebcbb03
09ed95ehttps://github.com/python/cpython/commit/09ed95e368c92346fc95b0780430dc4b4343a310
06d56f4https://github.com/python/cpython/commit/06d56f4a4a50c2d64622128a389f49341ebcbb03
Compare https://github.com/python/cpython/compare/09ed95e368c92346fc95b0780430dc4b4343a310..06d56f4a4a50c2d64622128a389f49341ebcbb03
January 7, 2018 19:10https://github.com/python/cpython/pull/5132#event-1412835492
https://github.com/matrixise
matrixisehttps://github.com/matrixise
May 15, 2018 https://github.com/python/cpython/pull/5132#pullrequestreview-120207654
View reviewed changes https://github.com/python/cpython/pull/5132/files
Lib/profile.pyhttps://github.com/python/cpython/pull/5132/files#diff-0b0017e74897709c159fcf37e292dfb5388085e2014542fbb441a4c56062f5d1
matrixisehttps://github.com/matrixise
May 15, 2018https://github.com/python/cpython/pull/5132#discussion_r188266528
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5132
mariocj89https://github.com/mariocj89
May 15, 2018https://github.com/python/cpython/pull/5132#discussion_r188282120
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 15, 2018https://github.com/python/cpython/pull/5132#event-1627062626
https://github.com/matrixise
matrixisehttps://github.com/matrixise
May 15, 2018 https://github.com/python/cpython/pull/5132#pullrequestreview-120270507
View reviewed changes https://github.com/python/cpython/pull/5132/files
Doc/library/profile.rsthttps://github.com/python/cpython/pull/5132/files#diff-1b67654697a87cd73e1149fd2c23a8dffbde34c84dd85afbb807f258dbf8b53c
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
May 15, 2018https://github.com/python/cpython/pull/5132#issuecomment-389224457
@matrixisehttps://github.com/matrixise
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/matrixise
matrixisehttps://github.com/matrixise
May 15, 2018 https://github.com/python/cpython/pull/5132#pullrequestreview-120308903
View reviewed changes https://github.com/python/cpython/pull/5132/files
matrixisehttps://github.com/matrixise
https://github.com/python/cpython/pull/5132#pullrequestreview-120308903
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
May 15, 2018https://github.com/python/cpython/pull/5132#issuecomment-389226298
@matrixisehttps://github.com/matrixise
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/matrixise
matrixisehttps://github.com/matrixise
May 15, 2018https://github.com/python/cpython/pull/5132#issuecomment-389226692
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jul 28, 2018https://github.com/python/cpython/pull/5132#issuecomment-408610743
Please reload this pagehttps://github.com/python/cpython/pull/5132
the one in cProfilehttps://github.com/python/cpython/blob/master/Lib/cProfile.py#L154
#5474https://github.com/python/cpython/pull/5474
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
force-pushedhttps://github.com/python/cpython/compare/2d18a74d709a4674476b1d7c4be9d0ed277b6da3..a70f8b1b97e8491017be7c52822c0b6538c43160
2d18a74https://github.com/python/cpython/commit/2d18a74d709a4674476b1d7c4be9d0ed277b6da3
a70f8b1https://github.com/python/cpython/commit/a70f8b1b97e8491017be7c52822c0b6538c43160
Compare https://github.com/python/cpython/compare/2d18a74d709a4674476b1d7c4be9d0ed277b6da3..a70f8b1b97e8491017be7c52822c0b6538c43160
July 28, 2018 14:32https://github.com/python/cpython/pull/5132#event-1758556309
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Oct 27, 2018https://github.com/python/cpython/pull/5132#issuecomment-433616834
@ncoghlanhttps://github.com/ncoghlan
herehttps://github.com/python/cpython/pull/5474#issuecomment-408626078
#5132 (comment)https://github.com/python/cpython/pull/5132#issuecomment-408610743
#5134https://github.com/python/cpython/pull/5134
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Oct 31, 2018https://github.com/python/cpython/pull/5132#issuecomment-434655889
@mariocj89https://github.com/mariocj89
Please reload this pagehttps://github.com/python/cpython/pull/5132
mariocj89https://github.com/mariocj89
November 1, 2018 11:56https://github.com/python/cpython/pull/5132#commits-pushed-3ae5284
https://github.com/mariocj89
Add -m option to profile for profiling moduleshttps://github.com/python/cpython/pull/5132/commits/3ae528451e1b7b48a1fc8e76cfc6bc3d7a94a044
3ae5284https://github.com/python/cpython/pull/5132/commits/3ae528451e1b7b48a1fc8e76cfc6bc3d7a94a044
https://github.com/mariocj89
Move cProfile test for -m to run on both moduleshttps://github.com/python/cpython/pull/5132/commits/60a37c77ab075cba8d67de49768deb0a26e5f907
60a37c7https://github.com/python/cpython/pull/5132/commits/60a37c77ab075cba8d67de49768deb0a26e5f907
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
force-pushedhttps://github.com/python/cpython/compare/a70f8b1b97e8491017be7c52822c0b6538c43160..60a37c77ab075cba8d67de49768deb0a26e5f907
a70f8b1https://github.com/python/cpython/commit/a70f8b1b97e8491017be7c52822c0b6538c43160
60a37c7https://github.com/python/cpython/commit/60a37c77ab075cba8d67de49768deb0a26e5f907
Compare https://github.com/python/cpython/compare/a70f8b1b97e8491017be7c52822c0b6538c43160..60a37c77ab075cba8d67de49768deb0a26e5f907
November 2, 2018 07:09https://github.com/python/cpython/pull/5132#event-1942279215
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Nov 2, 2018https://github.com/python/cpython/pull/5132#issuecomment-435298206
@ncoghlanhttps://github.com/ncoghlan
previous commenthttps://github.com/python/cpython/pull/5132#issuecomment-434655889
#5134https://github.com/python/cpython/pull/5134
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Nov 5, 2018 https://github.com/python/cpython/pull/5132#pullrequestreview-171523291
View reviewed changes https://github.com/python/cpython/pull/5132/files/60a37c77ab075cba8d67de49768deb0a26e5f907
ncoghlanhttps://github.com/ncoghlan
https://github.com/python/cpython/pull/5132#pullrequestreview-171523291
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 5, 2018https://github.com/python/cpython/pull/5132#event-1946022542
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
ad1a25fhttps://github.com/python/cpython/commit/ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1
Nov 5, 2018https://github.com/python/cpython/pull/5132#event-1946031621
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 5, 2018https://github.com/python/cpython/pull/5132#issuecomment-435851160
@ncoghlanhttps://github.com/ncoghlan
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 5, 2018https://github.com/python/cpython/pull/5132#event-1946031737
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
November 5, 2018 12:09https://github.com/python/cpython/pull/5132#event-1946042246
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5132
https://github.com/matrixise
matrixise https://github.com/matrixise
https://github.com/python/cpython/pull/5132/files/2d18a74d709a4674476b1d7c4be9d0ed277b6da3
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/python/cpython/pull/5132/files/60a37c77ab075cba8d67de49768deb0a26e5f907
Please reload this pagehttps://github.com/python/cpython/pull/5132
https://github.com/mariocj89
https://github.com/matrixise
https://github.com/ncoghlan
https://github.com/bedevere-bot
https://github.com/the-knights-who-say-ni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.