-
Notifications
You must be signed in to change notification settings - Fork 30
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
Added documentation for the load test script #185
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for nephio ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
-y - dirty mode, do not clean up after tests | ||
``` | ||
|
||
The load test creates, copies, proposes and approves `repo-count` repos, each with `package-count` packages with `package-revision-count` package recvisions created for each package. The script initializes or copies each package revision in turn. It adds a pipleline with two "apply-replacements" kpt functions to the Kptfile of each package revision. It updates the package revision, and then proposes and approves the package revision. |
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.
The load test creates, copies, proposes and approves `repo-count` repos, each with `package-count` packages with `package-revision-count` package recvisions created for each package. The script initializes or copies each package revision in turn. It adds a pipleline with two "apply-replacements" kpt functions to the Kptfile of each package revision. It updates the package revision, and then proposes and approves the package revision. | |
The load test creates, copies, proposes and approves `repo-count` repos, each with `package-count` packages with `package-revision-count` package revisions created for each package. The script initializes or copies each package revision in turn. It adds a pipeline with two "apply-replacements" kpt functions to the Kptfile of each package revision. It updates the package revision, and then proposes and approves it. |
|
||
The load test script creates repos on the git server at `hostname`, so it's URL will be `http://nephio:secret@hostname:3000/nephio/`. The script expects a git server to be running at that URL. | ||
|
||
The `result-file` is a text file containing the time it takes for a package to move from being inititalized or copied to being approved. It also records the time it takes to propse-delete and delete wach package revision. |
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.
The `result-file` is a text file containing the time it takes for a package to move from being inititalized or copied to being approved. It also records the time it takes to propse-delete and delete wach package revision. | |
The `result-file` is a text file containing the time it takes for a package to move from being initialized or copied to being approved. It also records the time it takes to propose-delete and delete each package revision. |
|
||
The `result-file` is a text file containing the time it takes for a package to move from being inititalized or copied to being approved. It also records the time it takes to propse-delete and delete wach package revision. | ||
|
||
The `repo-result-file` is a csv file that tabulizes the results from `result-file` into colums for each repo created. |
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.
The `repo-result-file` is a csv file that tabulizes the results from `result-file` into colums for each repo created. | |
The `repo-result-file` is a csv file that tabulates the results from `result-file` into columns for each Repository created. |
The PR for the load test script is here: nephio-project/porch#141