Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Port transaction pool benchmark #738

Merged
merged 19 commits into from
Nov 11, 2021
Merged

Conversation

skunert
Copy link
Contributor

@skunert skunert commented Nov 9, 2021

This PR provides a benchmark similar to the one in substrate.

The benchmark

  • starts two relay chain nodes and two parachain nodes
  • registers the parachain
  • initializes account_num accounts on the parachain
  • performs extrinsics_per_account transfers per account

Current results on MBP M1:

time:   [17.170 s 20.712 s 24.183 s]
thrpt:  [8.2704  elem/s 9.6561  elem/s 11.648  elem/s]

@skunert skunert requested a review from bkchr November 9, 2021 19:55
test/runtime-upgrade/Cargo.toml Outdated Show resolved Hide resolved
test/service/Cargo.toml Outdated Show resolved Hide resolved
test/service/benches/transaction_pool.rs Outdated Show resolved Hide resolved
test/service/Cargo.toml Outdated Show resolved Hide resolved
test/service/benches/transaction_pool.rs Outdated Show resolved Hide resolved
test/service/benches/transaction_pool.rs Outdated Show resolved Hide resolved
test/service/src/lib.rs Outdated Show resolved Hide resolved
test/service/src/lib.rs Outdated Show resolved Hide resolved
test/service/src/lib.rs Outdated Show resolved Hide resolved
@skunert skunert merged commit d4045c8 into paritytech:master Nov 11, 2021
ordian added a commit that referenced this pull request Nov 11, 2021
* master:
  polkadot collator builder (#740)
  Port transaction pool benchmark (#738)
  Update to latest substrate and polkadot dependencies (#745)
@apopiak apopiak added the B0-silent Changes should not be mentioned in any release notes label Nov 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants