Skip to content
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

Merged
merged 4 commits into from
Feb 26, 2021
Merged

Add perf tests for eventgrid #16949

merged 4 commits into from
Feb 26, 2021

Conversation

rakshith91
Copy link
Contributor

@rakshith91 rakshith91 commented Feb 25, 2021

Fixes #16541

@rakshith91 rakshith91 requested a review from annatisch February 25, 2021 22:35
@rakshith91
Copy link
Contributor Author

/azp run python - eventgrid - tests

@azure-pipelines
Copy link

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).
Copy link
Member

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))
Copy link
Member

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.

Copy link
Contributor Author

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

@rakshith91 rakshith91 enabled auto-merge (squash) February 26, 2021 00:35
@rakshith91 rakshith91 merged commit 5e6e0b4 into Azure:master Feb 26, 2021
@rakshith91 rakshith91 deleted the perg_eg branch February 26, 2021 00:54
iscai-msft added a commit to iscai-msft/azure-sdk-for-python that referenced this pull request Mar 1, 2021
…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)
  ...
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Dec 7, 2021
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Dec 7, 2021
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949)

* Track2 modify readme.go.md 6

* mariadb derective description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EG - add a perf test for atleast one champion scenario
2 participants