{"id":28092601,"url":"https://github.com/0xonkel/solana-rpc-bench","last_synced_at":"2025-05-13T13:21:51.055Z","repository":{"id":288313355,"uuid":"967610064","full_name":"0xOnkel/solana-rpc-bench","owner":"0xOnkel","description":"Benchmark Solana RPCs with real calls","archived":false,"fork":false,"pushed_at":"2025-04-24T18:01:23.000Z","size":137,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T19:22:08.548Z","etag":null,"topics":["rpc","solana"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xOnkel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-16T18:07:39.000Z","updated_at":"2025-04-24T18:01:26.000Z","dependencies_parsed_at":"2025-04-17T04:44:57.497Z","dependency_job_id":"b647ee80-fd79-4c55-a7ea-cb03fd57d377","html_url":"https://github.com/0xOnkel/solana-rpc-bench","commit_stats":null,"previous_names":["0xonkel/solana-rpc-bench"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOnkel%2Fsolana-rpc-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOnkel%2Fsolana-rpc-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOnkel%2Fsolana-rpc-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOnkel%2Fsolana-rpc-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xOnkel","download_url":"https://codeload.github.com/0xOnkel/solana-rpc-bench/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948531,"owners_count":21988963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rpc","solana"],"created_at":"2025-05-13T13:21:50.358Z","updated_at":"2025-05-13T13:21:51.048Z","avatar_url":"https://github.com/0xOnkel.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Config\nProvide a `config.toml` file which contains the RPCs that should be checked.\n\n```toml\n[[rpc]]\nlabel = \"Solana.com\"\nurl = \"https://api.mainnet-beta.solana.com\"\n\n[[rpc]]\nlabel = \"Helius\"\nurl = \"https://mainnet.helius-rpc.com/?api-key=\"\n```\n\n## Change # of repeats\nBy default, the test is run 3 times for each call. This can be changed with\nsetting the `repeat` variable in the `config.toml` file.\n\n```toml\nrepeat = 5\n```\n\n# Usage\nJust run the script with `cargo run --release` and you will get an output like\n```\n╭────────────┬───────────────────────┬────────┬────────┬────────╮\n│ RPC        │ Call                  │    Avg │   Best │  Worst │\n├────────────┼───────────────────────┼────────┼────────┼────────┤\n│ Solana.com │ get_slot              │ 103 ms │ 103 ms │ 103 ms │\n├────────────┼───────────────────────┼────────┼────────┼────────┤\n│ Solana.com │ get_multiple_accounts │  74 ms │  74 ms │  74 ms │\n├────────────┼───────────────────────┼────────┼────────┼────────┤\n│ Helius     │ get_slot              │ 124 ms │ 124 ms │ 124 ms │\n├────────────┼───────────────────────┼────────┼────────┼────────┤\n│ Helius     │ get_multiple_accounts │ 105 ms │ 105 ms │ 105 ms │\n├────────────┼───────────────────────┼────────┼────────┼────────┤\n│ Quicknode  │ get_slot              │ 111 ms │ 111 ms │ 111 ms │\n├────────────┼───────────────────────┼────────┼────────┼────────┤\n│ Quicknode  │ get_multiple_accounts │  77 ms │  77 ms │  77 ms │\n╰────────────┴───────────────────────┴────────┴────────┴────────╯\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xonkel%2Fsolana-rpc-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xonkel%2Fsolana-rpc-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xonkel%2Fsolana-rpc-bench/lists"}