Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 986 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 986 Bytes

Instructions

The final output is outputs/avgReqTimes-compare.yml. To generate it

  1. Clone this repo. From the root folder, run
python3 -m pip install -r requirements.txt
  1. Start a local instance of wallets-api from the master branch.

  2. Generate an API key and fill it out in the api_key in send_reqs.py. In the same file, set the res_file variable to outputs/avgReqTimes-current.yml.

  3. Generate the latency distrubtion for the current local instance by running

python3 send_reqs.py
  1. Start a local instance of wallets-api from the branches with the new changes.

  2. Generate and fill out the api_key again in send_reqs.py. Set the res_file variable to outputs/avgReqTimes-newChanges.yml.

  3. Generate the latency distrubtion for the current local instance by running

python3 send_reqs.py
  1. Combine the result into a single file for easy side-by-side comparison by running
python3 combine_times.py