{"action":"created","issue":{"url":"https://api.github.com/repos/spacejam/rsdb/issues/55","repository_url":"https://api.github.com/repos/spacejam/rsdb","labels_url":"https://api.github.com/repos/spacejam/rsdb/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/spacejam/rsdb/issues/55/comments","events_url":"https://api.github.com/repos/spacejam/rsdb/issues/55/events","html_url":"https://github.com/spacejam/rsdb/issues/55","id":249084034,"number":55,"title":"read in arguments for benchmark tool","user":{"login":"spacejam","id":1505488,"avatar_url":"https://avatars0.githubusercontent.com/u/1505488?v=4","gravatar_id":"","url":"https://api.github.com/users/spacejam","html_url":"https://github.com/spacejam","followers_url":"https://api.github.com/users/spacejam/followers","following_url":"https://api.github.com/users/spacejam/following{/other_user}","gists_url":"https://api.github.com/users/spacejam/gists{/gist_id}","starred_url":"https://api.github.com/users/spacejam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacejam/subscriptions","organizations_url":"https://api.github.com/users/spacejam/orgs","repos_url":"https://api.github.com/users/spacejam/repos","events_url":"https://api.github.com/users/spacejam/events{/privacy}","received_events_url":"https://api.github.com/users/spacejam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pmuens","id":1606004,"avatar_url":"https://avatars3.githubusercontent.com/u/1606004?v=4","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false},"assignees":[{"login":"pmuens","id":1606004,"avatar_url":"https://avatars3.githubusercontent.com/u/1606004?v=4","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/spacejam/rsdb/milestones/4","html_url":"https://github.com/spacejam/rsdb/milestone/4","labels_url":"https://api.github.com/repos/spacejam/rsdb/milestones/4/labels","id":2625974,"number":4,"title":"performance","description":"","creator":{"login":"spacejam","id":1505488,"avatar_url":"https://avatars0.githubusercontent.com/u/1505488?v=4","gravatar_id":"","url":"https://api.github.com/users/spacejam","html_url":"https://github.com/spacejam","followers_url":"https://api.github.com/users/spacejam/followers","following_url":"https://api.github.com/users/spacejam/following{/other_user}","gists_url":"https://api.github.com/users/spacejam/gists{/gist_id}","starred_url":"https://api.github.com/users/spacejam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacejam/subscriptions","organizations_url":"https://api.github.com/users/spacejam/orgs","repos_url":"https://api.github.com/users/spacejam/repos","events_url":"https://api.github.com/users/spacejam/events{/privacy}","received_events_url":"https://api.github.com/users/spacejam/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2017-07-06T17:56:57Z","updated_at":"2017-08-14T06:36:37Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2017-08-09T16:13:17Z","updated_at":"2017-08-15T19:08:18Z","closed_at":"2017-08-14T06:36:37Z","body":"the benchmark tool should accept arguments for these parameters:\r\n1. number of threads\r\n1. number of total operations\r\n1. proportion of reads, writes, cas, del, and scan operations among the operations\r\n1. freshness bias (prefer recent/likely to be in cache, prefer old/not likely to be in cache, no preference)\r\n1. non-present-key chance (the chance that a request for cas/get/set/del may be sent for a key that does not exist)\r\n1. key size min, max, median\r\n1. value size min, max, median\r\n1. scan iterations min, max, median"},"comment":{"url":"https://api.github.com/repos/spacejam/rsdb/issues/comments/322559622","html_url":"https://github.com/spacejam/rsdb/issues/55#issuecomment-322559622","issue_url":"https://api.github.com/repos/spacejam/rsdb/issues/55","id":322559622,"user":{"login":"spacejam","id":1505488,"avatar_url":"https://avatars0.githubusercontent.com/u/1505488?v=4","gravatar_id":"","url":"https://api.github.com/users/spacejam","html_url":"https://github.com/spacejam","followers_url":"https://api.github.com/users/spacejam/followers","following_url":"https://api.github.com/users/spacejam/following{/other_user}","gists_url":"https://api.github.com/users/spacejam/gists{/gist_id}","starred_url":"https://api.github.com/users/spacejam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacejam/subscriptions","organizations_url":"https://api.github.com/users/spacejam/orgs","repos_url":"https://api.github.com/users/spacejam/repos","events_url":"https://api.github.com/users/spacejam/events{/privacy}","received_events_url":"https://api.github.com/users/spacejam/received_events","type":"User","site_admin":false},"created_at":"2017-08-15T19:08:18Z","updated_at":"2017-08-15T19:08:18Z","body":"so, if any of the tree op types are provided, the defaults for all of the others should become 0.\r\n\r\n```bench --set=5 --del=2```\r\n\r\nfor each iteration of each thread that is running commands:\r\n\r\n```\r\nsum = 5 + 2\r\nops = vec![(Op::Set, 5), (Op::Del, 2)];\r\n\r\nlet mut choice = rand::gen_range::<usize>(0, sum);\r\n\r\nfor (op, weight) in ops {\r\n  if weight >= choice {\r\n    return op;\r\n  }\r\n  choice -= weight;\r\n}\r\n```\r\n\r\n"}}
{"actor":{"display_login":"spacejam"}}