FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

Repository navigation

Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Disable hash randomization when installing for azure-cli.
  • Loading branch information
ericsnowcurrently committed Mar 23, 2021
commit f2d05efe8941dd4fcf25248149bcb14315aae315
4 changes: 3 additions & 1 deletion pyperformance/benchmarks/bm_azure_cli.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ def _install():
_run(["git", "clone", AZURE_CLI_UPSTREAM, AZURE_CLI_REPO])

print("...setting up...")
env = _resolve_virtual_env()
env['PYTHONHASHSEED'] = '0'
# XXX Do not run this again if already done.
_run(
[sys.executable, "-m", "azdev", "setup", "--cli", AZURE_CLI_REPO],
env=_resolve_virtual_env(),
env=env,
)


Expand Down

Back | FazBrowse Home | New Git URL