Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The parachain staking benchmark is running for too long #887

Closed
Marky-Shi opened this issue Oct 12, 2022 · 2 comments · Fixed by #974
Closed

The parachain staking benchmark is running for too long #887

Marky-Shi opened this issue Oct 12, 2022 · 2 comments · Fixed by #974
Assignees
Labels
D2-bug Something isn't working I1-low should be completed within 20 working days

Comments

@Marky-Shi
Copy link
Contributor

Marky-Shi commented Oct 12, 2022

Context

#Action When using parachain staking benchmark code to generate a weight file, the run time is too long.

Task

Modifying the staking pallet staking benchmark code improves the runtime without affecting the weight file generation.

@Marky-Shi Marky-Shi self-assigned this Oct 12, 2022
@Marky-Shi Marky-Shi added D2-bug Something isn't working I1-low should be completed within 20 working days labels Oct 12, 2022
@Kailai-Wang
Copy link
Collaborator

Related: moonbeam-foundation/moonbeam#1950

@Marky-Shi
Copy link
Contributor Author

https://github.com/litentry/litentry-parachain/actions/runs/3528580789/jobs/5919401779, This is the result of using the CLI machine to run it. Unfortunately, it's cost 2 hours. It seems that the step and repeat need to be adjusted.

According to the previous test results on the T40 machine, if the step is adjusted to 30, the entire running process will be shortened to 1 hour. If it is run together with other pallet benchmark codes, it will take 2-3 hours to generate the weight file without counting the build-docker time. .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D2-bug Something isn't working I1-low should be completed within 20 working days
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants