polkadot-sdk icon indicating copy to clipboard operation
polkadot-sdk copied to clipboard

Contracts: test wasmi 0.32

Open pgherveou opened this issue 1 year ago • 72 comments

take over #2941 Weights compare

pgherveou avatar Mar 13 '24 14:03 pgherveou

bot help

pgherveou avatar Mar 13 '24 15:03 pgherveou

Here's a link to docs

command-bot[bot] avatar Mar 13 '24 15:03 command-bot[bot]

bot bench substrate-pallet --pallet=pallet_contracts

pgherveou avatar Mar 13 '24 15:03 pgherveou

"$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts was queued.

Comment bot cancel 12-b6340cf3-cf20-426e-8418-9ef2f2662dcc to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar Mar 13 '24 15:03 command-bot[bot]

@pgherveou Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result:

ValidationError: "id" is required
ValidationError: "id" is required
{"message":{"base":["Reference not found"]}}

command-bot[bot] avatar Mar 13 '24 15:03 command-bot[bot]

bot bench substrate-pallet --pallet=pallet_contracts

pgherveou avatar Mar 13 '24 15:03 pgherveou

"$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts was queued.

Comment bot cancel 13-1cdb3131-e249-4e7f-8d3d-fce894ed640e to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar Mar 13 '24 15:03 command-bot[bot]

@pgherveou Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result:

ValidationError: "id" is required
ValidationError: "id" is required
{"message":{"base":["Reference not found"]}}

command-bot[bot] avatar Mar 13 '24 15:03 command-bot[bot]

bot bench substrate-pallet --pallet=pallet_contracts

mordamax avatar Mar 13 '24 17:03 mordamax

@mordamax https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5523429 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts. Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 16-f37b5da1-9691-4c81-a0fb-ce26fe0701c9 to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar Mar 13 '24 17:03 command-bot[bot]

@mordamax Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5523429 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5523429/artifacts/download.

command-bot[bot] avatar Mar 13 '24 19:03 command-bot[bot]

Hey @pgherveou , I saw that the benchmarks have finished but I'm not sure how to interpret the results. Are there any findings regarding possible execution improvements here?

deuszx avatar Mar 15 '24 08:03 deuszx

@Robbepop @athei not sure why we commented on the previous PR https://github.com/paritytech/polkadot-sdk/pull/2941#pullrequestreview-1836267022

We need to change the benchmarks to compile the code in its setup so that when executing the contract it is only execution.

Why would we want to do that when we benchmark the extrinsic that is suppose to measure the whole thing

pgherveou avatar Mar 15 '24 14:03 pgherveou

bot bench substrate-pallet --pallet=pallet_contracts

pgherveou avatar Mar 21 '24 21:03 pgherveou

@pgherveou https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5610549 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts. Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 26-9ce4acbb-15c8-4149-bb27-c5c0da14c727 to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar Mar 21 '24 21:03 command-bot[bot]

@pgherveou Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5610549 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5610549/artifacts/download.

command-bot[bot] avatar Mar 21 '24 21:03 command-bot[bot]

bot bench substrate-pallet --pallet=pallet_contracts

pgherveou avatar Mar 22 '24 08:03 pgherveou

@pgherveou "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts (https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5613353) was cancelled in https://github.com/paritytech/polkadot-sdk/pull/3679#issuecomment-2014642626

command-bot[bot] avatar Mar 22 '24 08:03 command-bot[bot]

bot cancel 1-220b369f-437d-46dd-b2ab-c07221359aaa

pgherveou avatar Mar 22 '24 08:03 pgherveou

bot bench substrate-pallet --pallet=pallet_contracts

pgherveou avatar Mar 22 '24 08:03 pgherveou

@pgherveou Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5613353 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5613353/artifacts/download.

command-bot[bot] avatar Mar 22 '24 08:03 command-bot[bot]

@pgherveou https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5614252 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts. Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 2-8052407e-12ec-4b6f-b166-c3cf1f1ccb68 to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar Mar 22 '24 08:03 command-bot[bot]

@pgherveou Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5614252 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5614252/artifacts/download.

command-bot[bot] avatar Mar 22 '24 10:03 command-bot[bot]

Not sure if I'm reading the new gas benchmarks correct but it seems that quite a few methods have regressed >10%.

deuszx avatar Mar 25 '24 17:03 deuszx

bot bench substrate-pallet --pallet=pallet_contracts

pgherveou avatar Apr 10 '24 14:04 pgherveou

@pgherveou https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5866476 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts. Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 4-72d78cec-0877-4617-9dbd-a3cf611db4b3 to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar Apr 10 '24 14:04 command-bot[bot]

@pgherveou Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5866476 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5866476/artifacts/download.

command-bot[bot] avatar Apr 10 '24 14:04 command-bot[bot]

bot bench substrate-pallet --pallet=pallet_contracts

pgherveou avatar Apr 10 '24 15:04 pgherveou

@pgherveou https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5868516 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts. Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 5-f281cd4b-82bc-4bed-8491-2184246d219b to cancel this command or bot cancel to cancel all commands in this pull request.

command-bot[bot] avatar Apr 10 '24 15:04 command-bot[bot]

@pgherveou Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5868516 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5868516/artifacts/download.

command-bot[bot] avatar Apr 10 '24 15:04 command-bot[bot]