-
Notifications
You must be signed in to change notification settings - Fork 60
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
More robust throughput grid profiling #74
Conversation
commit a6e705b Author: Paras Jain <[email protected]> Date: Mon Jan 17 05:18:17 2022 +0000 write after each group, not at the end commit 75624c7 Author: Paras Jain <[email protected]> Date: Mon Jan 17 05:08:55 2022 +0000 Azure cleanup script to quickly deprovision resource groups commit eefc266 Author: Paras Jain <[email protected]> Date: Mon Jan 17 04:56:58 2022 +0000 Resume throughput from intermediate result commit a5d6a4d Author: Paras Jain <[email protected]> Date: Mon Jan 17 02:03:14 2022 +0000 New throughput tool
a6e705b
to
5a23507
Compare
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.
Looks good overall.
@@ -0,0 +1,5 @@ | |||
#!/bin/bash | |||
set -xe | |||
az group list | jq -c ".[].name" | xargs -L 1 echo | parallel --progress -j0 az group delete --yes --no-wait --name {} |
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.
It seems like this deletes all resource groups, not just the skylark ones, right? You may want to add a warning about this or something...
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.
Done. Added a prefix argument along with confirmation.
More robust throughput profiling tool that allows resuming from an older profile and is more error tolerant (logs errors as failed trials rather than exiting)
Sample file output: https://gist.github.com/parasj/efc883ef7180fa2e92b008eb26c6aa89#file-example-csv