paritytech / polkadot-stps

Polkadot Standard Transactions Per Second (sTPS) performance benchmarking
The Unlicense
14 stars 4 forks source link

Add zombienet parachain test automation #67

Closed bredamatt closed 1 year ago

bredamatt commented 1 year ago

EDIT: Accidentally made a normal PR, when I wanted a draft. Further changes will follow on this branch.

Was able to run the network configurations in the GCP zombienet cluster then run the tps and sender locally by port-forwarding. This seemed to have quite a lot of overhead, especially when calculating the TPS measures, so this branch was setup to add some further automation for running parachain sTPS tests inside the cluster.

Note that the new metadata added here is fetched from the polkadot-parachain binary with subxt. This polkadot-parachain is used in the zombienet tests and a new feature is added accordingly to the tps crate.

bredamatt commented 1 year ago

Currently waiting for resolution on this: https://github.com/paritytech/zombienet/issues/1115

bredamatt commented 1 year ago

Will merge to test the new images in Versi and adjust the zombienet test in a follow up PR.