-
Notifications
You must be signed in to change notification settings - Fork 3k
[Perfstress][Storage] Added Blobs perf tests #15833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
tools/azure-devtools/src/azure_devtools/perfstress_tests/random_stream.py
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/list_blobs.py
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/upload.py
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/upload_block.py
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/upload_block.py
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/upload.py
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/upload_from_file.py
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/upload_from_file.py
Show resolved
Hide resolved
tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_runner.py
Outdated
Show resolved
Hide resolved
tools/azure-devtools/src/azure_devtools/perfstress_tests/random_stream.py
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/list_blobs.py
Show resolved
Hide resolved
blob_name=self.blob_name, | ||
stream=self.download_stream, | ||
max_connections=self.args.max_concurrency) | ||
self.download_stream.reset() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: I prefer to reset before use, since it ensures you are working with a reset stream. But before or after are logically the same so whatever you prefer is also fine.
sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/list_blobs.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the two small nits this looks great :)
sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md
Outdated
Show resolved
Hide resolved
|
||
def __init__(self, arguments): | ||
super().__init__(arguments) | ||
connection_string = self.get_from_env("AZURE_STORAGE_CONNECTION_STRING") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another minor nit: could we mention that its fetching the connection string from an env variable in the README?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch - forgot all about that!
Co-authored-by: tasherif-msft <[email protected]>
No description provided.