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 getTokenSupply RPC call #3981

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

steveluscher
Copy link

@steveluscher steveluscher commented Dec 6, 2024

Summary of Changes

$ cargo run -- --identity ~/.config/solana/id.json --rpc-bench supply  --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.41s
     Running `/home/sol/src/agave/target/debug/solana-accounts-cluster-bench --identity /home/sol/.config/solana/id.json --rpc-bench get-supply --iterations 0 --url l --mint 7z5aMSb5zfJThETMRgFFd3XNKKVcZGNtWQDS3qfgbQ2t --space 165`
[2024-12-06T18:42:06.661480951Z INFO  solana_accounts_cluster_bench] Targeting http://localhost:8899
[2024-12-06T18:42:06.665059843Z INFO  solana_accounts_cluster_bench] Starting balance(s): [716751912000]
[2024-12-06T18:42:06.666102345Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:42:06.670058724Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:42:06.694965974Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:42:07.195840823Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:42:07.196728911Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:42:07.222877641Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:42:07.723840888Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:42:07.724684651Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:42:07.752880742Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:42:08.254251294Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:42:08.255053679Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:42:08.280374956Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:42:08.785215383Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:42:08.786055229Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:42:08.814294903Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:42:09.315359453Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:42:09.316128715Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:42:09.340822630Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:42:09.841802149Z INFO  solana_accounts_cluster_bench] total_accounts_created: 24 total_accounts_closed: 0 tx_sent_count: 24 loop_count: 7 balance(s): [716702729280]
[2024-12-06T18:42:10.343158744Z INFO  solana_accounts_cluster_bench] creating 4 new
[2024-12-06T18:42:10.343978462Z INFO  solana_accounts_cluster_bench] txs: 4
[2024-12-06T18:42:10.368246488Z INFO  solana_accounts_cluster_bench] ids: 4
[2024-12-06T18:42:10.665760710Z INFO  solana_accounts_cluster_bench] t(0) rpc(Supply) iters: 6486 success: 6487 errors: 0
[2024-12-06T18:42:10.665803661Z INFO  solana_accounts_cluster_bench]  t(0) rpc(Supply average success_time: 615 us

Related: #3242.

@steveluscher steveluscher force-pushed the token-supply-benchmark branch from 6a53fc7 to ea3050c Compare December 6, 2024 18:50
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 1354a89 December 7, 2024 06:46
@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.

@steveluscher steveluscher merged commit 6c362f6 into anza-xyz:master Dec 9, 2024
40 checks passed
@steveluscher steveluscher deleted the token-supply-benchmark branch December 9, 2024 08:10
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