{"id":22870906,"url":"https://github.com/percona-lab/go-tpcc","last_synced_at":"2025-05-05T22:18:00.200Z","repository":{"id":46830347,"uuid":"299589627","full_name":"Percona-Lab/go-tpcc","owner":"Percona-Lab","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-12T14:23:00.000Z","size":9553,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T00:13:03.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Percona-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-09-29T11:00:54.000Z","updated_at":"2025-03-24T12:43:13.000Z","dependencies_parsed_at":"2024-06-19T04:01:27.839Z","dependency_job_id":"4d1e279a-7f2b-4157-b2b3-9dd7f2178db5","html_url":"https://github.com/Percona-Lab/go-tpcc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fgo-tpcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fgo-tpcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fgo-tpcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fgo-tpcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Percona-Lab","download_url":"https://codeload.github.com/Percona-Lab/go-tpcc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584336,"owners_count":21771945,"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-12-13T13:16:33.716Z","updated_at":"2025-05-05T22:18:00.158Z","avatar_url":"https://github.com/Percona-Lab.png","language":"Go","readme":"# go-tpcc\n\n## Preparing dataset\n\n```\n./go-tpcc prepare  --threads 10 --warehouses 20 --uri mongodb://localhost:27017 --db DatabaseName\n```\n\n\n## Running test\n\n\n```\n./go-tpcc run  --threads 1 --warehouses 2 --uri mongodb://localhost:27017 --db DatabaseName --time 200 --trx --report-format json --percentile 95 --report-interval 1 --percent-fail 0\n\n ./go-tpcc help run\nRun\n\nUsage:\n  go-tpcc run [flags]\n\nFlags:\n  -h, --help                   help for run\n      --percent-fail int       How much % of New Order trxs should fail [0-100]\n      --percentile int         Percentile for latency reporting (default 95)\n      --report-format string   default|json|csv (default \"default\")\n      --report-interval int    Report interval (default 1)\n      --scalefactor float      Scale-factor (default 1)\n      --threads int            Amount of threads that will be used when preparing. min(threads, warehouses) will be used at most (default 8)\n      --time int               How long to run the test (default 10)\n      --warehouses int         Number of warehouses to generate the data (default 10)\n\nGlobal Flags:\n      --db string    database name to use\n      --trx          use trx?. false by default\n      --uri string   DSN\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Fgo-tpcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpercona-lab%2Fgo-tpcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Fgo-tpcc/lists"}