-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add perf tests for eventgrid #16949
Add perf tests for eventgrid #16949
Conversation
/azp run python - eventgrid - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
- `--duration=10` Number of seconds to run as many operations (the "run" function) as possible. Default is 10. | ||
- `--iterations=1` Number of test iterations to run. Default is 1. | ||
- `--parallel=1` Number of tests to run in parallel. Default is 1. | ||
- `--no-client-share` Whether each parallel test instance should share a single client, or use their own. Default is False (sharing). |
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.
You can remove this option unless you want to implement sharing a single client between test instances.
Probably not needed for now.
self.event_list.append(EventGridEvent( | ||
event_type="Contoso.Items.ItemReceived", | ||
data={ | ||
"services": random.sample(services, k=random.randint(1, 4)) |
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.
This will test a different data set every time - we should probably keep each test consistent with throughput.
If you expect there to be variation in consuming each of these values that you want to compare - you could make it a cmd flag:
parser.add_argument('-e', '--event-service', nargs='?', type=str, help='The event service type. Default is "EventGrib"', default='EventGrid')
But otherwise I think we can just stick to a single value.
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.
sticking to single value should be good
…into correct_healthcare * 'master' of https://github.com/Azure/azure-sdk-for-python: (30 commits) [EventGrid] Improve docs (Azure#16986) Fixed delete_blob method signature (Azure#16983) Fixed Content-MD5 serialization and typing (Azure#16987) [eventgrid] Black formatting and tests suite (Azure#16989) Appconfig perf test (Azure#16809) adds support for milliseconds on datetime objects (Azure#16847) [ServiceBus] Improve AMQP Error handling (Azure#16427) T2 resource 2021 02 26 (Azure#16961) T2 servicefabricmanagedclusters 2021 02 26 (Azure#16958) Update Prepare-Release script (Azure#16976) the previous filter was erroneously filtering out real files. (Azure#16978) Update azure-core minimum version (Azure#16968) update documention in depends section of eng_sys_checks.md (Azure#16967) version (Azure#16959) T2 web 2021 02 24 (Azure#16901) Change test pipeline to run in eastus2 (Azure#16950) Adding azure-devtools to mr-auth dev_requirements (Azure#16953) Add perf tests for eventgrid (Azure#16949) temp fix for canary tests (Azure#16945) Update get_package_properties to also return path to setup.py (Azure#16946) ...
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
Fixes #16541