{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25310","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25310/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25310/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25310/events","html_url":"https://github.com/cockroachdb/cockroach/pull/25310","id":320192696,"number":25310,"title":"roachtest: create TPC-C benchmarking tool","user":{"login":"nvanbenschoten","id":5438456,"avatar_url":"https://avatars3.githubusercontent.com/u/5438456?v=4","gravatar_id":"","url":"https://api.github.com/users/nvanbenschoten","html_url":"https://github.com/nvanbenschoten","followers_url":"https://api.github.com/users/nvanbenschoten/followers","following_url":"https://api.github.com/users/nvanbenschoten/following{/other_user}","gists_url":"https://api.github.com/users/nvanbenschoten/gists{/gist_id}","starred_url":"https://api.github.com/users/nvanbenschoten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvanbenschoten/subscriptions","organizations_url":"https://api.github.com/users/nvanbenschoten/orgs","repos_url":"https://api.github.com/users/nvanbenschoten/repos","events_url":"https://api.github.com/users/nvanbenschoten/events{/privacy}","received_events_url":"https://api.github.com/users/nvanbenschoten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-05-04T08:34:40Z","updated_at":"2018-05-23T22:19:54Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/25310","html_url":"https://github.com/cockroachdb/cockroach/pull/25310","diff_url":"https://github.com/cockroachdb/cockroach/pull/25310.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/25310.patch"},"body":"Closes #25084.\r\n\r\nThis change creates a new `tpccbench` roachtest specifically for\r\nthe purpose of benchmarking TPC-C. The test spins up a cluster (if\r\nnot provided a `--cluster` flag), restores a TPC-C dataset (if not\r\nrun on an existing cluster with `--wipe=false` specified), and\r\nbenchmarks the cluster's ability to scale under an increasing number\r\nof TPC-C warehouses. Specifically, it uses a line search algorithm\r\nto efficiently search for the maximum number of warehouses that can\r\nbe operated on while sustaining a throughput threshold, which is set\r\nto a fraction of max tpmC for that warehouse count.\r\n\r\n@a-robinson I pushed this WIP change so that you and others can\r\nplay around with it and give feedback on its approach and ergonomics.\r\n\r\ncc. @jordanlewis I'd love to hear your thoughts on the early draft of this\r\ntool and if you have any suggestions for how it can be improved or made\r\nmore useful.\r\n\r\nRelease note: None"},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/391515137","html_url":"https://github.com/cockroachdb/cockroach/pull/25310#issuecomment-391515137","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/25310","id":391515137,"user":{"login":"craig[bot]","id":37807150,"avatar_url":"https://avatars0.githubusercontent.com/in/10419?v=4","gravatar_id":"","url":"https://api.github.com/users/craig%5Bbot%5D","html_url":"https://github.com/apps/craig","followers_url":"https://api.github.com/users/craig%5Bbot%5D/followers","following_url":"https://api.github.com/users/craig%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/craig%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/craig%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craig%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/craig%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/craig%5Bbot%5D/repos","events_url":"https://api.github.com/users/craig%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/craig%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-05-23T22:19:53Z","updated_at":"2018-05-23T22:19:53Z","author_association":"NONE","body":"# Build failed\n  * [GitHub CI (Cockroach)](https://teamcity.cockroachdb.com/viewLog.html?buildId=676145&buildTypeId=Cockroach_UnitTests)"}}
{"actor":{"display_login":"craig"}}