| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9dfdfc61-4d90-e59f-4a86-bb5d6e7244b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D32:355421:0021:0065:696AF2BB |
| html-safe-nonce | 1dcb069a4cf45cfa1ab445c9c66ef7dce4431219d87aabe2323b0c2fe7e54617 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDMyOjM1NTQyMTowMDIxOjAwNjU6Njk2QUYyQkIiLCJ2aXNpdG9yX2lkIjoiNDIxMzcwNzIzODA4MjgwMjM2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 732cc441e8c0854de738c26115e3a0bee428b96b84ed23b3d170eed566d4341b |
| hovercard-subject-tag | pull_request:2159432869 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/pyperformance/pull/367/files |
| twitter:image | https://avatars.githubusercontent.com/u/8949415?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8949415?s=400&v=4 |
| og:image:alt | This PR adds two benchmarks for argparse. The first is for an argparse program with multiple subparsers, each with their own subcommands. The second is for an argparse program with many optional ar... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/pyperformance/pull/367/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpyperformance%2Fpull%2F367%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fpyperformance%2Fpull%2F367%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fpyperformance |
| Reload | https://github.com/python/pyperformance/pull/367/files |
| Reload | https://github.com/python/pyperformance/pull/367/files |
| Reload | https://github.com/python/pyperformance/pull/367/files |
|
python
| https://github.com/python |
| pyperformance | https://github.com/python/pyperformance |
| Please reload this page | https://github.com/python/pyperformance/pull/367/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fpyperformance |
|
Fork
200
| https://github.com/login?return_to=%2Fpython%2Fpyperformance |
|
Star
975
| https://github.com/login?return_to=%2Fpython%2Fpyperformance |
|
Code
| https://github.com/python/pyperformance |
|
Issues
45
| https://github.com/python/pyperformance/issues |
|
Pull requests
25
| https://github.com/python/pyperformance/pulls |
|
Actions
| https://github.com/python/pyperformance/actions |
|
Projects
0
| https://github.com/python/pyperformance/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/pyperformance/security |
| Please reload this page | https://github.com/python/pyperformance/pull/367/files |
|
Insights
| https://github.com/python/pyperformance/pulse |
|
Code
| https://github.com/python/pyperformance |
|
Issues
| https://github.com/python/pyperformance/issues |
|
Pull requests
| https://github.com/python/pyperformance/pulls |
|
Actions
| https://github.com/python/pyperformance/actions |
|
Projects
| https://github.com/python/pyperformance/projects |
|
Security
| https://github.com/python/pyperformance/security |
|
Insights
| https://github.com/python/pyperformance/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fpyperformance%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fpyperformance%2Fissues%2Fnew%2Fchoose |
| mdboom | https://github.com/mdboom |
| python:main | https://github.com/python/pyperformance/tree/main |
| savannahostrowski:argparse-bench | https://github.com/savannahostrowski/pyperformance/tree/argparse-bench |
|
Conversation
1
| https://github.com/python/pyperformance/pull/367 |
|
Commits
15
| https://github.com/python/pyperformance/pull/367/commits |
|
Checks
0
| https://github.com/python/pyperformance/pull/367/checks |
|
Files changed
| https://github.com/python/pyperformance/pull/367/files |
| Please reload this page | https://github.com/python/pyperformance/pull/367/files |
|
Add argparse benchmarks for subparsers and many optionals
| https://github.com/python/pyperformance/pull/367/files#top |
|
Show all changes
15 commits
| https://github.com/python/pyperformance/pull/367/files |
|
c2f6158
Add argparse benchmark
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/c2f61587acac4ecf6bc33b800a0f479a7168ead9 |
|
03c7295
Add benchmark for testing lots of args
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/03c72951913d0e247f078208ac674b1ecff1c474 |
|
2923ca6
Reorder in MANIFEST
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/2923ca683e9a683a347b8572eb4a8f3864a31975 |
|
be01577
Fix formatting
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/be0157709314b3b958ff0b8572bf9a8db7cb5382 |
|
5ef3c9d
Add newline
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/5ef3c9deda3bde118fda94013c95d82adfff3af4 |
|
f0194a1
Formatting
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/f0194a1632bf5edbf6dac557090ab20b94347a37 |
|
338e69e
Update description
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/338e69e45f25f4176887b3c50d15275f1a64569b |
|
1a08f4d
Formatting...again
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/1a08f4dfcabab8ba7ec5be265c875e9dbff13a11 |
|
057c5d2
Update docstring
savannahostrowski Nov 2, 2024
| https://github.com/python/pyperformance/pull/367/commits/057c5d23a070136fcd1210d510f66c7459f3a526 |
|
3b596cf
Attempting to fix the tests
savannahostrowski Nov 3, 2024
| https://github.com/python/pyperformance/pull/367/commits/3b596cfe1026929b4c6095c27fd1ea7d340100cf |
|
a1c1826
Remove line
savannahostrowski Nov 3, 2024
| https://github.com/python/pyperformance/pull/367/commits/a1c182644627ca25800c16f33ad02449271af824 |
|
ee12b27
Refactor into single run_benchmark
savannahostrowski Nov 3, 2024
| https://github.com/python/pyperformance/pull/367/commits/ee12b27cf5fc71ccc136b62951de9de4e9c49de2 |
|
67c1e4b
Add newline;
savannahostrowski Nov 3, 2024
| https://github.com/python/pyperformance/pull/367/commits/67c1e4ba6be5ec58ba40d34d6e263ae64fa6c8dd |
|
5369382
Remove extraneous files
savannahostrowski Nov 3, 2024
| https://github.com/python/pyperformance/pull/367/commits/5369382c8f9144edbece230842755d484baa0aeb |
|
13dbced
Formatting :)
savannahostrowski Nov 3, 2024
| https://github.com/python/pyperformance/pull/367/commits/13dbcedb7cf2288219324052f8d4526c4c4809e9 |
|
Clear filters
| https://github.com/python/pyperformance/pull/367/files |
| Please reload this page | https://github.com/python/pyperformance/pull/367/files |
| Please reload this page | https://github.com/python/pyperformance/pull/367/files |
|
MANIFEST
| https://github.com/python/pyperformance/pull/367/files#diff-2dc2836aea524883ea247e75c5a3cf1e2bb6840e6a8c9d0c24f235a666d7712b |
|
bm_argparse_subparsers.toml
| https://github.com/python/pyperformance/pull/367/files#diff-a556d70ac02b75cb62df9d8261118c07487d00cc8c26592845739bf4f15d9081 |
|
pyproject.toml
| https://github.com/python/pyperformance/pull/367/files#diff-9b1a210f69af049cd10ed67350e1316170e549c2c1afc755f13cc9bf94c2693d |
|
run_benchmark.py
| https://github.com/python/pyperformance/pull/367/files#diff-fffeba377851d04320c8eb850d8339adfba55829792abaac525e62fd01c3a3e7 |
| pyperformance/data-files/benchmarks/MANIFEST | https://github.com/python/pyperformance/pull/367/files#diff-2dc2836aea524883ea247e75c5a3cf1e2bb6840e6a8c9d0c24f235a666d7712b |
|
View file
| https://github.com/savannahostrowski/pyperformance/blob/13dbcedb7cf2288219324052f8d4526c4c4809e9/pyperformance/data-files/benchmarks/MANIFEST |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/pyperformance/pull/367/{{ revealButtonHref }} |
|
| https://github.com/python/pyperformance/pull/367/files#diff-2dc2836aea524883ea247e75c5a3cf1e2bb6840e6a8c9d0c24f235a666d7712b |
|
| https://github.com/python/pyperformance/pull/367/files#diff-2dc2836aea524883ea247e75c5a3cf1e2bb6840e6a8c9d0c24f235a666d7712b |
| pyperformance/data-files/benchmarks/bm_argparse/bm_argparse_subparsers.toml | https://github.com/python/pyperformance/pull/367/files#diff-a556d70ac02b75cb62df9d8261118c07487d00cc8c26592845739bf4f15d9081 |
|
View file
| https://github.com/savannahostrowski/pyperformance/blob/13dbcedb7cf2288219324052f8d4526c4c4809e9/pyperformance/data-files/benchmarks/bm_argparse/bm_argparse_subparsers.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/pyperformance/pull/367/{{ revealButtonHref }} |
| pyperformance/data-files/benchmarks/bm_argparse/pyproject.toml | https://github.com/python/pyperformance/pull/367/files#diff-9b1a210f69af049cd10ed67350e1316170e549c2c1afc755f13cc9bf94c2693d |
|
View file
| https://github.com/savannahostrowski/pyperformance/blob/13dbcedb7cf2288219324052f8d4526c4c4809e9/pyperformance/data-files/benchmarks/bm_argparse/pyproject.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/pyperformance/pull/367/{{ revealButtonHref }} |
| pyperformance/data-files/benchmarks/bm_argparse/run_benchmark.py | https://github.com/python/pyperformance/pull/367/files#diff-fffeba377851d04320c8eb850d8339adfba55829792abaac525e62fd01c3a3e7 |
|
View file
| https://github.com/savannahostrowski/pyperformance/blob/13dbcedb7cf2288219324052f8d4526c4c4809e9/pyperformance/data-files/benchmarks/bm_argparse/run_benchmark.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/pyperformance/pull/367/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |