Etherlink: Performance RPS
What
In this MR, I use Locust to benchmark the RPS (Requests Per Second) of Etherlink.
Why
To measure the performance of Etherlink.
How
To do that, I wrote a Tezt to create an Etherlink scenario. I gathered the information needed for the RPC requests and sent it to Locust using an intermediary config file. Then, I launch Locust. The result of the Tezt was written to a CSV file in the Locust folder: src/bin_testnet_scenarios/locust/<timestamp>.
Manually testing the MR
dune exec src/bin_testnet_scenarios/main.exe -- --file evm_rollup.ml rps -v
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Antoine Lanco