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

Benchmark Regression Tracking Issue #5138

Closed
17 tasks done
shawntabrizi opened this issue Mar 16, 2022 · 7 comments
Closed
17 tasks done

Benchmark Regression Tracking Issue #5138

shawntabrizi opened this issue Mar 16, 2022 · 7 comments

Comments

@shawntabrizi
Copy link
Member

shawntabrizi commented Mar 16, 2022

In #5097, it was shown some benchmarks were not working.

  • runtime/kusama/src/weights/frame_system.rs
  • runtime/kusama/src/weights/pallet_collective_council.rs
  • runtime/kusama/src/weights/pallet_collective_technical_committee.rs
  • runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
  • runtime/kusama/src/weights/pallet_elections_phragmen.rs
  • runtime/kusama/src/weights/runtime_common_crowdloan.rs
  • runtime/polkadot/src/weights/frame_system.rs
  • runtime/polkadot/src/weights/pallet_collective_council.rs
  • runtime/polkadot/src/weights/pallet_collective_technical_committee.rs
  • runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs
  • runtime/polkadot/src/weights/runtime_common_auctions.rs
  • runtime/polkadot/src/weights/runtime_common_crowdloan.rs
  • runtime/polkadot/src/weights/runtime_common_slots.rs
  • runtime/polkadot/src/weights/runtime_parachains_hrmp.rs
  • runtime/westend/src/weights/frame_system.rs
  • runtime/westend/src/weights/pallet_election_provider_multi_phase.rs
  • runtime/westend/src/weights/runtime_common_crowdloan.rs

This issue will track making sure each of these works on the appropriate runtime, and work on a fix if not.

@coderobe
Copy link
Contributor

frame_system benchmarks did end up working via benchapp, it's possible that scripts/run_benches_for_runtime.sh just failed to trigger those.

As for the rest, here are some logs for benchmark runs of the main runtimes, might be of use:
https://gitlab.parity.io/parity/polkadot/-/jobs/1439417/raw
https://gitlab.parity.io/parity/polkadot/-/jobs/1439418/raw
https://gitlab.parity.io/parity/polkadot/-/jobs/1439419/raw

@shawntabrizi
Copy link
Member Author

thank you @coderobe

@ggwpez
Copy link
Member

ggwpez commented Mar 17, 2022

The runtime_parachains::ump benchmark still reports Invalid input: UnknownMessageIndex.
Do you know what that means @hirschenberger? We are currently trying to fix some regressions.
cc @KiChjang

@hirschenberger
Copy link
Contributor

hirschenberger commented Mar 17, 2022

The runtime_parachains::ump benchmark still reports Invalid input: UnknownMessageIndex. Do you know what that means @hirschenberger? We are currently trying to fix some regressions. cc @KiChjang

Is it in the service_overweight benchmark? It means that the message has not been overweight and was not enqueued to the overweight queue. That might be bc. of some bound-value changes.

So the create_message_overweight function may not have produced an overweight message.

Is it urgent? I can have a look on it at the weekend.

@ggwpez
Copy link
Member

ggwpez commented Mar 17, 2022

Okay thanks for your quick reply!

Is it urgent? I can have a look on it at the weekend.

We can do the next release still with the old weight numbers I think, so that is no problem.

@hirschenberger
Copy link
Contributor

@ggwpez @shawntabrizi Ah, we're talking about polkadot benchmarks.

Ump-benchmarks never worked for polkadot because the polkadot runtime is configured to use a mock UmpSinkthat does not do anything see here and here.

When I started developing the benchmarks in pre-parachain times, I just skipped polkadot bc. it seemed to me UMP is not ready for primetime in polkadot.

@shawntabrizi
Copy link
Member Author

AFAIK this is completed. cc @coderobe

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants