Skip to content

ashutosh-ukey/wallets-latency-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages