{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/loadgen/issues/3","repository_url":"https://api.github.com/repos/cockroachdb/loadgen","labels_url":"https://api.github.com/repos/cockroachdb/loadgen/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/loadgen/issues/3/comments","events_url":"https://api.github.com/repos/cockroachdb/loadgen/issues/3/events","html_url":"https://github.com/cockroachdb/loadgen/pull/3","id":204132840,"number":3,"title":"blocks: use a hex-string instead of a placeholder for binary data","user":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-30T21:19:57Z","updated_at":"2017-01-30T21:22:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/loadgen/pulls/3","html_url":"https://github.com/cockroachdb/loadgen/pull/3","diff_url":"https://github.com/cockroachdb/loadgen/pull/3.diff","patch_url":"https://github.com/cockroachdb/loadgen/pull/3.patch"},"body":"This improves throughput by 12% by reducing the round-trips to execute a\nrequest. When using placeholders we have to prepare, then\nbind+execute. Found when trying to figure out how cassandra and mongo\nwere executing requests faster than we could parse them (without\nexecuting). This is an effort to make the comparison with\ncassandra/mongo as apples-to-apples as possible.\n\nRequires https://github.com/cockroachdb/cockroach/pull/13287"},"comment":{"url":"https://api.github.com/repos/cockroachdb/loadgen/issues/comments/276194804","html_url":"https://github.com/cockroachdb/loadgen/pull/3#issuecomment-276194804","issue_url":"https://api.github.com/repos/cockroachdb/loadgen/issues/3","id":276194804,"user":{"login":"bdarnell","id":160562,"avatar_url":"https://avatars.githubusercontent.com/u/160562?v=3","gravatar_id":"","url":"https://api.github.com/users/bdarnell","html_url":"https://github.com/bdarnell","followers_url":"https://api.github.com/users/bdarnell/followers","following_url":"https://api.github.com/users/bdarnell/following{/other_user}","gists_url":"https://api.github.com/users/bdarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/bdarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdarnell/subscriptions","organizations_url":"https://api.github.com/users/bdarnell/orgs","repos_url":"https://api.github.com/users/bdarnell/repos","events_url":"https://api.github.com/users/bdarnell/events{/privacy}","received_events_url":"https://api.github.com/users/bdarnell/received_events","type":"User","site_admin":false},"created_at":"2017-01-30T21:22:33Z","updated_at":"2017-01-30T21:22:33Z","body":"What if you use db.Prepare and Stmt.Exec (reusing the statement) instead of db.Exec(string)? That should be even faster than the inline literal."}}
{"actor":{"display_login":"bdarnell"}}