dcgtc / dgrants

Decentralized Grant platform that implements quadratic funding.
GNU Affero General Public License v3.0
84 stars 39 forks source link

Write RPC benchmarking script and assess 3rd party node services #508

Closed apbendi closed 2 years ago

apbendi commented 2 years ago

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.

apbendi commented 2 years ago

Done in #533