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-apifrom the master branch. -
Generate an API key and fill it out in the
api_keyinsend_reqs.py. In the same file, set theres_filevariable 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-apifrom the branches with the new changes. -
Generate and fill out the
api_keyagain insend_reqs.py. Set theres_filevariable 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