-
Notifications
You must be signed in to change notification settings - Fork 234
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 new command line options to enable periodic concurrency mode #391
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nv-hwoo
force-pushed
the
hwoo-add-new-options
branch
from
September 5, 2023 16:46
a650130
to
cce29f3
Compare
Given this:
can we set the necessary options and print a message to the user? |
debermudez
reviewed
Sep 5, 2023
debermudez
requested changes
Sep 5, 2023
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 so far. Couple comments is all.
matthewkotila
previously approved these changes
Sep 5, 2023
nv-hwoo
force-pushed
the
hwoo-add-new-options
branch
from
September 21, 2023 20:24
ee7db60
to
287b0c5
Compare
nv-hwoo
force-pushed
the
hwoo-add-new-options
branch
from
September 25, 2023 23:23
ae77dc6
to
8156127
Compare
nv-hwoo
force-pushed
the
hwoo-add-new-options
branch
from
September 27, 2023 00:37
8156127
to
2064297
Compare
debermudez
approved these changes
Sep 27, 2023
matthewkotila
approved these changes
Sep 27, 2023
matthewkotila
pushed a commit
that referenced
this pull request
Oct 7, 2023
* Add macros to reuse it for checking range options * Add tests for periodic-concurrency-range option * Add periodic-concurrency-range and request-period options * Add doc for periodic-concurrency-range and request-period * Add test for request-period option * Revert macro and add reusable test function * Add more tests * Small refactor * Refactor a subcase * Require bi-directional gRPC streaming for periodic concurrency mode * Address feedback * Refine the error message * Add bi-directional gRPC streaming options for periodic concurrency mode * Add request-parameter option and refactor * Refactor * Add valid case for request-parameter option * Add --request-parameter doc and edit periodic concurrency description * Custom request parameter is currently only supported by gRPC * Parse and store the type of request parameter * Add checks between act vs. exp * Remove uint type and rebase * Change doc * Minor fix * Address feedback
matthewkotila
pushed a commit
that referenced
this pull request
Oct 7, 2023
* Add macros to reuse it for checking range options * Add tests for periodic-concurrency-range option * Add periodic-concurrency-range and request-period options * Add doc for periodic-concurrency-range and request-period * Add test for request-period option * Revert macro and add reusable test function * Add more tests * Small refactor * Refactor a subcase * Require bi-directional gRPC streaming for periodic concurrency mode * Address feedback * Refine the error message * Add bi-directional gRPC streaming options for periodic concurrency mode * Add request-parameter option and refactor * Refactor * Add valid case for request-parameter option * Add --request-parameter doc and edit periodic concurrency description * Custom request parameter is currently only supported by gRPC * Parse and store the type of request parameter * Add checks between act vs. exp * Remove uint type and rebase * Change doc * Minor fix * Address feedback
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add two new command line options to enable periodic concurrency mode in Perf Analyzer:
--periodic-concurrency-range=<start:end:step>
--request-period=<n>
--request-parameter=<name:value:type>
The new command line options will users to launch Perf Analyzer in periodic concurrency mode and can be used as in the following command: