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

benchmark runner using aws-crt-python or boto3 #15

Merged
merged 4 commits into from
Oct 9, 2023

Conversation

graebm
Copy link
Contributor

@graebm graebm commented Oct 7, 2023

usage: benchrunner.py [-h] {crt,boto3} BENCHMARK BUCKET REGION TARGET_THROUGHPUT

This runner will use aws-crt-python OR boto3, depending on the 1st arg.

I like this model of having 1 runner for a given language, with an arg that chooses the library to benchmark (vs my original design of a unique runner for each library). Once this PR is through, I'll merge the CLI runner logic in here too.

Also: flush stdout before running a subprocess, to prevent stuff from printing out of order when you have processes, running processes, running processes

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@DmitriyMusatkin DmitriyMusatkin merged commit 50b3119 into main Oct 9, 2023
4 checks passed
@DmitriyMusatkin DmitriyMusatkin deleted the python-runner branch October 9, 2023 21:31
DmitriyMusatkin added a commit that referenced this pull request Oct 9, 2023
@graebm graebm mentioned this pull request Oct 18, 2023
graebm added a commit that referenced this pull request Oct 18, 2023
Cut down on boilerplate by just having one python runner, instead of separate folders, each with their own build scripts, main functions, and bytes_to_GiB() helper functions, etc, etc, etc

This looks like a crap ton of new code, but it's just moving/splitting/combingin code from the following PRs:
- #12
- #14
- #15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants