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

Incorporate azure-sdk / azure-cli into pyperformance suite #18

Open
7 of 8 tasks
ericsnowcurrently opened this issue Mar 16, 2021 · 5 comments
Open
7 of 8 tasks
Labels
benchmarking Anything related to measurement: Adding new benchmarks, benchmarking infrastructure etc. blocked

Comments

@ericsnowcurrently
Copy link
Collaborator

ericsnowcurrently commented Mar 16, 2021

This would let us run profiling and benchmarks against workloads involving the azure SDK. I expect our best option would be using the test suite of either repo.

  • decide on initial workload to target
  • clone the repo locally
  • figure out how to run the tests (our proxy for the workload)
  • figure out how to add a benchmark to pyperformance
  • add the basic benchmark (it is slow so we won't include it in the default set)
  • add an equivalent fast benchmark
  • make an upstream PR - Add a benchmark for the Azure CLI. python/pyperformance#90
  • verify that the fast benchmark is a good enough proxy for our target workload

Later (getting profiling set up takes precedence):

  • add a similar benchmark for azure-sdk
  • add a benchmark using Azure functions
@ericsnowcurrently
Copy link
Collaborator Author

@gvanrossum
Copy link
Collaborator

Probably related: Anthony Shaw reminded me that new Azure Functions users get 1,000,000 calls for free. They are currently using Python 3.6, 3.7, 3.8 in Docker containers (vanilla CPython).

A reduction in CPU time would go straight to the Microsoft bottom line.

There is a Docker image of the Azure Functions runtime so you could use that to benchmark any optimizations. https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image?tabs=bash%2Cportal&pivots=programming-language-python

@ericsnowcurrently ericsnowcurrently self-assigned this Mar 18, 2021
@ericsnowcurrently
Copy link
Collaborator Author

This is blocked until Azure/azure-cli#16611 is resolved.

@ericsnowcurrently
Copy link
Collaborator Author

This probably isn't critical for now so I'm moving this back to "to do".

@markshannon
Copy link
Member

Is this going to happen, or should we close this?

@ericsnowcurrently ericsnowcurrently removed their assignment Jul 7, 2022
@mdboom mdboom added the benchmarking Anything related to measurement: Adding new benchmarks, benchmarking infrastructure etc. label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarking Anything related to measurement: Adding new benchmarks, benchmarking infrastructure etc. blocked
Projects
Archived in project
Development

No branches or pull requests

4 participants