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

Added documentation for the load test script #185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

liamfallon
Copy link
Member

@liamfallon liamfallon commented Nov 20, 2024

The PR for the load test script is here: nephio-project/porch#141

Copy link
Contributor

nephio-prow bot commented Nov 20, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from liamfallon by writing /assign @liamfallon in a comment. For more information see the Kubernetes Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

netlify bot commented Nov 20, 2024

Deploy Preview for nephio ready!

Name Link
🔨 Latest commit eb7d97a
🔍 Latest deploy log https://app.netlify.com/sites/nephio/deploys/673e03cdfa34e60008598f62
😎 Deploy Preview https://deploy-preview-185--nephio.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

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.

2 participants