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

Connection count #94

Merged
merged 11 commits into from
May 24, 2024
Merged

Connection count #94

merged 11 commits into from
May 24, 2024

Conversation

Alan-Jowett
Copy link
Member

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 parameter ConcurrentConnections with a default value of 32. Additionally, a line was added to output the test configuration parameters, including the new ConcurrentConnections 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 the Invoke-Command script block parameters to use $CommonOptions instead of $Duration. This change allows the reuse of common command options in multiple places. [1] [2]

Alan Jowett added 11 commits May 16, 2024 20:10
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
@Alan-Jowett Alan-Jowett merged commit e44f8e9 into microsoft:main May 24, 2024
4 of 19 checks passed
@Alan-Jowett Alan-Jowett deleted the connection_count branch May 24, 2024 18:52
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.

1 participant