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

[Stress] fix local benchmark; run benchmark in release mode #6930

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

mwtian
Copy link
Member

@mwtian mwtian commented Dec 20, 2022

As chatted with @lxfind, add an infinite wait for server runtime thread in stress client. This fixes the issue here: https://github.com/MystenLabs/sui/actions/runs/3735884139/jobs/6339625259#step:8:944

Add a smoke test for benchmark in CI.

Build stress benchmark in release mode in the benchmark workflow.

@mwtian mwtian requested review from lxfind and sadhansood December 20, 2022 00:42
@vercel
Copy link

vercel bot commented Dec 20, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
explorer 🔄 Building (Inspect) Dec 20, 2022 at 1:08AM (UTC)
2 Ignored Deployments
Name Status Preview Comments Updated
explorer-storybook ⬜️ Ignored (Inspect) Dec 20, 2022 at 1:08AM (UTC)
wallet-adapter ⬜️ Ignored (Inspect) Dec 20, 2022 at 1:08AM (UTC)

@mwtian mwtian requested a review from arun-koshy December 20, 2022 00:45
@mwtian mwtian enabled auto-merge (squash) December 20, 2022 00:49
@mwtian mwtian changed the title [Stress] fix local benchmark; build in release mode [Stress] fix local benchmark; run benchmark in release mode Dec 20, 2022
@@ -325,6 +328,9 @@ async fn main() -> Result<()> {
}
}
join_all(follower_handles).await;
loop {
Copy link
Contributor

@sadhansood sadhansood Dec 20, 2022

Choose a reason for hiding this comment

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

Could we add a comment about why this is necessary? Thanks! - iiuc, It's mostly for server warmup?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added. This is to keep Sui validators alive.

@mwtian mwtian merged commit b77a878 into MystenLabs:main Dec 20, 2022
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.

3 participants