read me updated with local remote

This commit is contained in:
eleonore12345 2024-07-03 15:14:19 +02:00
parent 80daff3308
commit 7b935f6e1e
2 changed files with 14 additions and 8 deletions

BIN
notes.odt

Binary file not shown.

View File

@ -1,16 +1,16 @@
## Testing of differeng cloning methods ## Testing of differeng cloning methods
Our objective is to find the least-consuming method in terms of memory and bandwidth resources. Our objective is to find the least-consuming method in terms of memory and bandwidth resources.
We are interested in cloning one specific state of the repository. We are not interested in its history or the possibility to change it from the server where it has been cloned. The first step is done by the script creation_repo.sh which creates an adequate repository to test on. The testing in itself is done by performance_tests.sh. We are interested in cloning one specific state of the repository. We are not interested in its history or the possibility to change it from the server where it has been cloned. The first step is done by the script creation_repo.sh which creates an adequate repository to act as a local remote. The testing in itself is done by performance_tests.sh.
NB:The large file storage is not tested by this script because it relies on additional remote stockage and we are interested in reducing the overall stockage for environmental purposes.
## Creation of the test repository ## Creation of the test repository
The script creation_repo.sh creates a performance_testing repository. The script creation_repo.sh creates a performance_testing repository.
NAME NAME
creation_repo.sh creation_repo.sh
SYNOPSIS SYNOPSIS
creation_repo.sh [SSH LINK to en empty remote git repository] creation_repo.sh [-h]
DESCRIPTION DESCRIPTION
This script is in writing. It creates a remote directory in the current directory, then create a remote/performance_testing git repository. This git repository is filled with randomly generated binary.
It creates a git repository in the current directory, linked to a remote passed as argument. Everything is up-to-date between the remote and the local versions. The data stored is generated randomly in binary.
OPTIONS OPTIONS
-h prints the help. -h prints the help.
@ -45,17 +45,23 @@ sample1 1M
sample2 500K sample2 500K
## Testing ## Testing
The script performance_tests.sh measures memory and bandwidth usage of different git cloning scenarii. The script performance_tests.sh measures memory and bandwidth usage for different git commands. It sources creation_repo.sh in order to have an adequate repository to test on. It also sources the script driglibash-base.
NAME NAME
performance_tests.sh performance_tests.sh
SYNOPSIS SYNOPSIS
performance_tests.sh [SSH LINK to en empty remote git repository] [number] performance_tests.sh [-a] [-h] [-n number]
OPTIONS OPTIONS
-a excutes all the tests. -a excutes all the tests.
-n [number] executes test [number] -n number executes test number
-h prints the help. -h prints the help.
DESCRIPTION DESCRIPTION
This script is in writing. It allows you to measure memory and bandwidth usage for different method of cloning on the remote repository given. This script is in writing. It allows you to measure memory and bandwidth usage. The first four test different cloning methods. Te following change the local remote by adding a 1M "sample5" file before testing fetching and merging commands.
TEST0: classic cloning TEST0: classic cloning
TEST1: --single-branch TEST1: --single-branch
TEST2: --depth=1 --no-single-branch
TEST3: --depth=1
TEST4: sparse-checking 1M sample0 only
_________________________________________
TEST5: classic fetching and merging
TEST6: