The final output is outputs/avgReqTimes-compare.yml
. To generate it
- Clone this repo. From the root folder, run
python3 -m pip install -r requirements.txt
-
Start a local instance of
wallets-api
from the master branch. -
Generate an API key and fill it out in the
api_key
insend_reqs.py
. In the same file, set theres_file
variable tooutputs/avgReqTimes-current.yml
. -
Generate the latency distrubtion for the current local instance by running
python3 send_reqs.py
-
Start a local instance of
wallets-api
from the branches with the new changes. -
Generate and fill out the
api_key
again insend_reqs.py
. Set theres_file
variable tooutputs/avgReqTimes-newChanges.yml
. -
Generate the latency distrubtion for the current local instance by running
python3 send_reqs.py
- Combine the result into a single file for easy side-by-side comparison by running
python3 combine_times.py