Write a benchmarking script that interacts with the staging contracts on Polygon deployed in #491. The benchmarking script should perform a sequence of data fetching operations representative of those that are done by the app when loading. This should include:
[x] Fetch the code for the registry and the round manager
The script should report the time splits between each task, the total time for the full suite, and repeat the actions in a loop a number of times as supplied by a command line argument.
@gdixon @thelostone-mc @mds1 Would love feedback on other actions we should include, or some which aren't necessary. This is just my quick reading of how we're using the RPC endpoint, but you all have more insight into how to make this more representative.
Write a benchmarking script that interacts with the staging contracts on Polygon deployed in #491. The benchmarking script should perform a sequence of data fetching operations representative of those that are done by the app when loading. This should include:
The script should report the time splits between each task, the total time for the full suite, and repeat the actions in a loop a number of times as supplied by a command line argument.
@gdixon @thelostone-mc @mds1 Would love feedback on other actions we should include, or some which aren't necessary. This is just my quick reading of how we're using the RPC endpoint, but you all have more insight into how to make this more representative.