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.
This pull request includes significant changes to the
scripts/two-machine-perf.ps1
file. The changes involve the addition of a new parameter,ConcurrentConnections
, and the restructuring of command options for better code organization and reusability.Here are the most important changes:
Parameter Addition:
scripts/two-machine-perf.ps1
: Added a new optional parameterConcurrentConnections
with a default value of 32. Additionally, a line was added to output the test configuration parameters, including the newConcurrentConnections
parameter.Command Options Restructuring:
scripts/two-machine-perf.ps1
: Introduced variables$CommonOptions
and$ClientOptions
to hold the common and client-specific command options respectively. This change simplifies the command options and makes the code more maintainable.scripts/two-machine-perf.ps1
: Modified theInvoke-Command
script block parameters to use$CommonOptions
instead of$Duration
. This change allows the reuse of common command options in multiple places. [1] [2]