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

test benchmarks #1907

Merged
merged 13 commits into from
Sep 25, 2023
Merged

test benchmarks #1907

merged 13 commits into from
Sep 25, 2023

Conversation

tzemanovic
Copy link
Member

@tzemanovic tzemanovic commented Sep 20, 2023

Describe your changes

Some benches are a bit stale and are failing. We should check that the benchmarks run successfully without performing the measurement or analysis in the CI.

Added make test-benches and a step in the CI to run these which won't be active until this PR is merged and because they are currently failing it's probably better so we're not affecting unrelated PRs.

⚠️ Pls make sure that make test-benches passes when this is being merged and released.

Fixed failing benches:

  • native_vps.governance
  • native_vps.ibc
  • process_wrapper.process_tx
  • whitelisted_vps.vp_user

Indicate on which release or other PRs this topic is based on

#1906 - first commit in this PR is 6f0033e

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@tzemanovic tzemanovic force-pushed the tomas/test-benchmarks branch 2 times, most recently from e676e68 to 9ac3548 Compare September 20, 2023 12:37
@tzemanovic tzemanovic force-pushed the tomas/test-benchmarks branch from 83991e5 to edfef5a Compare September 22, 2023 12:22
@tzemanovic tzemanovic marked this pull request as ready for review September 22, 2023 12:24
@tzemanovic tzemanovic requested a review from grarco September 22, 2023 12:24
grarco
grarco previously approved these changes Sep 22, 2023
Copy link
Collaborator

@grarco grarco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you!

@tzemanovic
Copy link
Member Author

I accidentally added a change that was meant to be for #1906 - force pushed to move it out

tzemanovic added a commit that referenced this pull request Sep 25, 2023
* tomas/test-benchmarks:
  changelog: add #1907
  benches: upgrade criterion.rs
  bench: fix ibc native_vp bench
  benches/process_wrapper: increase gas limit to make it pass
  benches: update tx signatures for multisig
  benches: fix gov to enter voting period before voting
  benches: fix epoch params in gov proposals
  shared/ledger/gov: add some logging to gov VP
  benches: add README.md
  benches: add tracing support
  CI/build-and-test: run `make test-benches`
  make: add `test-benches` recipe and add it to `test`
@tzemanovic tzemanovic mentioned this pull request Sep 25, 2023
Fraccaman added a commit that referenced this pull request Sep 25, 2023
* origin/tomas/test-benchmarks:
  changelog: add #1907
  benches: upgrade criterion.rs
  bench: fix ibc native_vp bench
  benches/process_wrapper: increase gas limit to make it pass
  benches: update tx signatures for multisig
  benches: fix gov to enter voting period before voting
  benches: fix epoch params in gov proposals
  shared/ledger/gov: add some logging to gov VP
  benches: add README.md
  benches: add tracing support
  CI/build-and-test: run `make test-benches`
  make: add `test-benches` recipe and add it to `test`
@brentstone brentstone merged commit 2ea12bb into main Sep 25, 2023
@brentstone brentstone deleted the tomas/test-benchmarks branch September 25, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants