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

WIP: Scripts for performance testing unipi #20

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

rand00
Copy link

@rand00 rand00 commented Jan 3, 2023

No description provided.

  * some variables need modification for other systems,
  * and networking setup/teardown need to be reenabled
@rand00
Copy link
Author

rand00 commented Mar 6, 2023

There is a README.md in the perftest directory concerning how to run the performance-test locally.

These scripts were initially developed to be run from a script in builder-web, which are copied over to a server and handled via ssh. Recently a new perftest/locally.sh script was added, including supporting changes to the other scripts, to support running the test locally for different targets.

The interface of each script to be used by builder-web should be very stable - maybe the arguments should become named instead of positional (also because of the amount..)?

@rand00
Copy link
Author

rand00 commented Mar 6, 2023

The corresponding PR for builder-web is here. It's not updated for the new script interfaces yet.

@rand00
Copy link
Author

rand00 commented Mar 6, 2023

This has been tested on Linux only - should probably as a minimum be tested on FreeBSD too

cp "$ROOT"/"$DATA_DIR"/index.html ./
git add index.html
git commit -m "index.html"
git push
Copy link
Contributor

Choose a reason for hiding this comment

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

On this part of this script: init.sh should expects a bundle git (which can provided by the user with git bundle create). On this script, it will be:

$ git clone ${GIT_BUNDLE} --bare ${DATA_DIR}
$ git daemon ... &

By this way, we are able to launch the performance test with a "default" bundle (with a simple index.html) or an user's bundle (with a bigger index.html).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants