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

A benchmark suite for the getFirstAvailableBlock RPC call #3982

Merged

Conversation

steveluscher
Copy link

Summary of Changes

$ cargo run -- --identity ~/.config/solana/id.json --rpc-bench first-available-block --iterations 0 --url l --mint 7z5aMSb5zfJThETMRgFFd3XNKKVcZGNtWQDS3qfgbQ2t --space 165
   Compiling solana-accounts-cluster-bench v2.2.0 (/home/sol/src/agave/accounts-cluster-bench)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.47s
     Running `/home/sol/src/agave/target/debug/solana-accounts-cluster-bench --identity /home/sol/.config/solana/id.json --rpc-bench first-available-block --iterations 0 --url l --mint 7z5aMSb5zfJThETMRgFFd3XNKKVcZGNtWQDS3qfgbQ2t --space 165`
[2024-12-06T18:51:43.103362897Z INFO  solana_accounts_cluster_bench] Targeting http://localhost:8899
[2024-12-06T18:51:43.106797696Z INFO  solana_accounts_cluster_bench] Starting balance(s): [716661743680]
[2024-12-06T18:51:43.107795233Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:51:43.111919292Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:51:43.155339263Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:51:44.162376566Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:51:44.163164705Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:51:44.208056503Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:51:44.709153917Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:51:44.709944660Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:51:44.755458802Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:51:45.270454827Z INFO  solana_accounts_cluster_bench] creating 3 new
[2024-12-06T18:51:45.271077190Z INFO  solana_accounts_cluster_bench] txs: 3
[2024-12-06T18:51:45.304960722Z INFO  solana_accounts_cluster_bench] ids: 3
[2024-12-06T18:51:45.809524866Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:51:45.810313886Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:51:45.856990698Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:51:46.359918562Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:51:46.360694647Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:51:46.407656942Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:51:46.407674325Z INFO  solana_accounts_cluster_bench] total_accounts_created: 23 total_accounts_closed: 0 tx_sent_count: 23 loop_count: 7 balance(s): [716614610240]
[2024-12-06T18:51:46.918582539Z INFO  solana_accounts_cluster_bench] creating 3 new
[2024-12-06T18:51:46.919218078Z INFO  solana_accounts_cluster_bench] txs: 3
[2024-12-06T18:51:46.953224733Z INFO  solana_accounts_cluster_bench] ids: 3
[2024-12-06T18:51:47.107893084Z INFO  solana_accounts_cluster_bench] t(0) rpc(FirstAvailableBlock) iters: 628 success: 629 errors: 0
[2024-12-06T18:51:47.107919575Z INFO  solana_accounts_cluster_bench]  t(0) rpc(FirstAvailableBlock average success_time: 6359 us

Related: #3242.

alessandrod
alessandrod previously approved these changes Dec 7, 2024
t-nelson
t-nelson previously approved these changes Dec 7, 2024
@steveluscher steveluscher dismissed stale reviews from t-nelson and alessandrod via 8632c9c December 7, 2024 06:49
@steveluscher
Copy link
Author

Requires re-review because we don't use stacked PR workflows here so I had to resolve a conflict, and resolving the conflict dismisses all reviews.

t-nelson
t-nelson previously approved these changes Dec 7, 2024
@steveluscher
Copy link
Author

Rebased, ergo review required.

alessandrod
alessandrod previously approved these changes Dec 9, 2024
t-nelson
t-nelson previously approved these changes Dec 9, 2024
@steveluscher
Copy link
Author

Resolved merge conflicts with master ergo review required.

@steveluscher steveluscher merged commit 6bb3a03 into anza-xyz:master Dec 9, 2024
30 of 33 checks passed
@steveluscher steveluscher deleted the first-available-block-benchmark branch December 9, 2024 18:02
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