{"id":19365636,"url":"https://github.com/nikvolf/sub-bench","last_synced_at":"2025-06-20T22:34:09.066Z","repository":{"id":40729601,"uuid":"235058153","full_name":"NikVolf/sub-bench","owner":"NikVolf","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-04T14:01:14.000Z","size":1159,"stargazers_count":7,"open_issues_count":15,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T14:41:02.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NikVolf.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}},"created_at":"2020-01-20T08:57:27.000Z","updated_at":"2023-07-24T15:10:30.000Z","dependencies_parsed_at":"2023-02-02T15:03:01.967Z","dependency_job_id":null,"html_url":"https://github.com/NikVolf/sub-bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikVolf/sub-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fsub-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fsub-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fsub-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fsub-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikVolf","download_url":"https://codeload.github.com/NikVolf/sub-bench/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fsub-bench/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261029491,"owners_count":23099762,"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":[],"created_at":"2024-11-10T07:41:38.666Z","updated_at":"2025-06-20T22:34:04.046Z","avatar_url":"https://github.com/NikVolf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sub-bench\n\nYou can use this bench tool to run against `substrate --dev` node. No configuration needed!\n\nHaving your substrate started in `--dev` mode with default websockets config, run here\n\n```\nnpm install\nnpx tsc\nnode dist/index.js\n```\n\nor just if already npm-installed \u0026 compiled\n\n```\nnode dist/index.js\n```\n\n### some configuration\n\nYou can change how long will it spam transactions in bench.config.json:\n\n`processedTransactions = 1000`\n\nreplace it with any number to spam more/less\n\nIn the same file, you can change how much is spammed per seccond:\n\n`tps = 100`\n\nwebsockets url is set in `polkadot.bench.config.json`\n\n### kudos\n\nthanks for @mixbytes and their tank project which actually runs those configured benchmarks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvolf%2Fsub-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikvolf%2Fsub-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvolf%2Fsub-bench/lists"}