René's URL Explorer Experiment


Title: Add a benchmark for the Azure CLI. by ericsnowcurrently · Pull Request #90 · python/pyperformance · GitHub

Open Graph Title: Add a benchmark for the Azure CLI. by ericsnowcurrently · Pull Request #90 · python/pyperformance

X Title: Add a benchmark for the Azure CLI. by ericsnowcurrently · Pull Request #90 · python/pyperformance

Description: This is part of CPython performance work that @gvanrossum and I are starting. We want to use pyperformance to run our benchmarks (and profiling, but that's a separate issue). As there isn't a mechanism to plug in custom benchmarks, I'm putting up this PR. I suppose there's the question of whether this is an appropriate benchmark for the suite. I think so. It represents a workload, based on concrete usage patterns for a widely used CLI app, that does not seem to be covered by other benchmarks. Note that at the moment I'm cheating a little by running tests out of the azure-cli test suite. However, I expect the tests exercise the code in a very similar way to common usage of the actual application. If there are concerns about inclusion I'm fine with leaving it out. We will be using this benchmark (and a few others we will probably add) extensively. (Either way, it would still be nice to have a way to plug in custom benchmarks externally. See #89.)

Open Graph Description: This is part of CPython performance work that @gvanrossum and I are starting. We want to use pyperformance to run our benchmarks (and profiling, but that's a separate issue). As there isn'...

X Description: This is part of CPython performance work that @gvanrossum and I are starting. We want to use pyperformance to run our benchmarks (and profiling, but that's a separate issue). As there isn...

Opengraph URL: https://github.com/python/pyperformance/pull/90

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b3adb62d-de3f-d312-be72-49a65d927051
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9588:8BCE9:EF665E:14B8497:696A3EA0
html-safe-nonce1a3d4ad4ddd7ac985a8363d39d66cb660352e37e8a74fe345722ec70bb63a0a5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTg4OjhCQ0U5OkVGNjY1RToxNEI4NDk3OjY5NkEzRUEwIiwidmlzaXRvcl9pZCI6IjgyNzY1NDg2MDcwNDkwODg2NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0df2b50d41e84aa369fb8fee16cb42dd7f1a6179211a7bdebeedd174959fa10e
hovercard-subject-tagpull_request:596030825
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/pyperformance/pull/90/files
twitter:imagehttps://avatars.githubusercontent.com/u/1152074?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1152074?s=400&v=4
og:image:altThis is part of CPython performance work that @gvanrossum and I are starting. We want to use pyperformance to run our benchmarks (and profiling, but that's a separate issue). As there isn'...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/pyperformance git https://github.com/python/pyperformance.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id65949828
octolytics-dimension-repository_nwopython/pyperformance
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id65949828
octolytics-dimension-repository_network_root_nwopython/pyperformance
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release13581a31d51edf4a3aca179e10890a4d4f9b6d76
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/pyperformance/pull/90/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpyperformance%2Fpull%2F90%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fpyperformance%2Fpull%2F90%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
Reloadhttps://github.com/python/pyperformance/pull/90/files
Reloadhttps://github.com/python/pyperformance/pull/90/files
Reloadhttps://github.com/python/pyperformance/pull/90/files
python https://github.com/python
pyperformancehttps://github.com/python/pyperformance
Please reload this pagehttps://github.com/python/pyperformance/pull/90/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 pagehttps://github.com/python/pyperformance/pull/90/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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fpyperformance%2Fissues%2Fnew%2Fchoose
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/pyperformance/tree/main
ericsnowcurrently:add-bm-azure-clihttps://github.com/ericsnowcurrently/python-performance/tree/add-bm-azure-cli
Conversation 2 https://github.com/python/pyperformance/pull/90
Commits 13 https://github.com/python/pyperformance/pull/90/commits
Checks 0 https://github.com/python/pyperformance/pull/90/checks
Files changed https://github.com/python/pyperformance/pull/90/files
Please reload this pagehttps://github.com/python/pyperformance/pull/90/files
Add a benchmark for the Azure CLI. https://github.com/python/pyperformance/pull/90/files#top
Show all changes 13 commits https://github.com/python/pyperformance/pull/90/files
ff2fc8f Add a benchmark for the Azure CLI. ericsnowcurrently Mar 18, 2021 https://github.com/python/pyperformance/pull/90/commits/ff2fc8f14c0e6dd160027feb8741dd7af0d70525
dab3dfc During tests, use the created venv when appropriate. ericsnowcurrently Mar 19, 2021 https://github.com/python/pyperformance/pull/90/commits/dab3dfc2df0534e524f9c22ac28feb8aaa92ce11
4a9de73 Only "install" when necessary. ericsnowcurrently Mar 19, 2021 https://github.com/python/pyperformance/pull/90/commits/4a9de738836003a2e8131734651c1e8738156945
1caa4d4 Mark some benchmarks as "slow". ericsnowcurrently Mar 19, 2021 https://github.com/python/pyperformance/pull/90/commits/1caa4d4afd50cfff626de8b17777b98f9c57ea6e
a5d583e Only run "fast" benchmarks in the functional tests. ericsnowcurrently Mar 19, 2021 https://github.com/python/pyperformance/pull/90/commits/a5d583e8583d62a2ce3352764d22ba0a287f1c05
38b6fb1 Look for the "already installed" marker in the venv instead of data dir. ericsnowcurrently Mar 19, 2021 https://github.com/python/pyperformance/pull/90/commits/38b6fb1d94eecfcb23c83daddf23546f8299cf77
0414021 Do non-pip setup for benchmarks before running them. ericsnowcurrently Mar 19, 2021 https://github.com/python/pyperformance/pull/90/commits/04140211f4f604f0b65b0ecc2721f29ad89e9690
54b4ee5 Clean up install() a little. ericsnowcurrently Mar 22, 2021 https://github.com/python/pyperformance/pull/90/commits/54b4ee5e3b187c1a6aaaa160afba330f048ea44e
64b269b Add a "log" entry. ericsnowcurrently Mar 22, 2021 https://github.com/python/pyperformance/pull/90/commits/64b269bdcd4c7597ee72ee98adc4f871892d4ee2
1c9dc6c Flush stdout before running subprocesses. ericsnowcurrently Mar 22, 2021 https://github.com/python/pyperformance/pull/90/commits/1c9dc6c674a6567fe9902aff4cc93640eeb9b0e4
0cc1974 Set $VIRTUAL_ENV and $PATH when running in a venv. ericsnowcurrently Mar 22, 2021 https://github.com/python/pyperformance/pull/90/commits/0cc1974402199a386d998e77dd32e52450f4e512
10afb76 Drop the restriction about not running in a venv. ericsnowcurrently Mar 22, 2021 https://github.com/python/pyperformance/pull/90/commits/10afb763b47aaf3ddb195180ad7a585a67ed6df8
f2d05ef Disable hash randomization when installing for azure-cli. ericsnowcurrently Mar 23, 2021 https://github.com/python/pyperformance/pull/90/commits/f2d05efe8941dd4fcf25248149bcb14315aae315
Clear filters https://github.com/python/pyperformance/pull/90/files
Please reload this pagehttps://github.com/python/pyperformance/pull/90/files
Please reload this pagehttps://github.com/python/pyperformance/pull/90/files
benchmarks.rst https://github.com/python/pyperformance/pull/90/files#diff-06f408aca9c0caf57b15169bc2f749ed556bcf460a6966a74e61dd6304aa5d2a
.gitignore https://github.com/python/pyperformance/pull/90/files#diff-675d78a811f31b7c09c4d18d9f79f4100c8dbf8b5b928285ebc6fe62e52192c4
__init__.py https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
bm_azure_cli.py https://github.com/python/pyperformance/pull/90/files#diff-6d98cdbe68a57e70935e85da2677efc4859ee22aeb3551e0c484637720e19e44
cli.py https://github.com/python/pyperformance/pull/90/files#diff-107aeb5b8ce3134f7199d902a231212114d0fb26c12cd191067061d63be57475
requirements.in https://github.com/python/pyperformance/pull/90/files#diff-f7828ecaf88e84a053bd1d6257d0b365e990df567b8290c454eab1c332f60e03
requirements.txt https://github.com/python/pyperformance/pull/90/files#diff-fab7a641cbfe26565394698f9eeceeb19204616b817b2120c353097e31f4e627
run.py https://github.com/python/pyperformance/pull/90/files#diff-35057cd981225c743647d7c2917c366cdb27520483c89d499889b0f2b09b80d4
venv.py https://github.com/python/pyperformance/pull/90/files#diff-4559606ce535f0219a33b37c04d59f3a3279fef8e42dfb57db21f012f9d9e1cc
runtests.py https://github.com/python/pyperformance/pull/90/files#diff-17019d8813f584a97bc5531faa1df3f1a590413d61a77d7d93db76df66163b63
doc/benchmarks.rsthttps://github.com/python/pyperformance/pull/90/files#diff-06f408aca9c0caf57b15169bc2f749ed556bcf460a6966a74e61dd6304aa5d2a
View file https://github.com/python/pyperformance/blob/f2d05efe8941dd4fcf25248149bcb14315aae315/doc/benchmarks.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/pyperformance/pull/90/{{ revealButtonHref }}
https://github.com/python/pyperformance/pull/90/files#diff-06f408aca9c0caf57b15169bc2f749ed556bcf460a6966a74e61dd6304aa5d2a
https://github.com/python/pyperformance/pull/90/files#diff-06f408aca9c0caf57b15169bc2f749ed556bcf460a6966a74e61dd6304aa5d2a
pyperformance/.gitignorehttps://github.com/python/pyperformance/pull/90/files#diff-675d78a811f31b7c09c4d18d9f79f4100c8dbf8b5b928285ebc6fe62e52192c4
View file https://github.com/python/pyperformance/blob/f2d05efe8941dd4fcf25248149bcb14315aae315/pyperformance/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/pyperformance/pull/90/{{ revealButtonHref }}
pyperformance/benchmarks/__init__.pyhttps://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
View file https://github.com/python/pyperformance/blob/f2d05efe8941dd4fcf25248149bcb14315aae315/pyperformance/benchmarks/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/pyperformance/pull/90/{{ revealButtonHref }}
https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
https://github.com/python/pyperformance/pull/90/files#diff-eb34b1d4493bb7360ab4c1b3a922ed6c0c4c44f41f69b94a8d4a01c5242c5e25
pyperformance/benchmarks/bm_azure_cli.pyhttps://github.com/python/pyperformance/pull/90/files#diff-6d98cdbe68a57e70935e85da2677efc4859ee22aeb3551e0c484637720e19e44
View file https://github.com/python/pyperformance/blob/f2d05efe8941dd4fcf25248149bcb14315aae315/pyperformance/benchmarks/bm_azure_cli.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/pyperformance/pull/90/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/pyperformance/pull/90/files
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.