{"action":"closed","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/2238","labels_url":"https://api.github.com/repos/coreos/etcd/issues/2238/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/2238/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/2238/events","html_url":"https://github.com/coreos/etcd/issues/2238","id":56691755,"number":2238,"title":"Discussion about single etcd performance ","user":{"login":"keithtobin","id":4140208,"avatar_url":"https://avatars.githubusercontent.com/u/4140208?v=3","gravatar_id":"","url":"https://api.github.com/users/keithtobin","html_url":"https://github.com/keithtobin","followers_url":"https://api.github.com/users/keithtobin/followers","following_url":"https://api.github.com/users/keithtobin/following{/other_user}","gists_url":"https://api.github.com/users/keithtobin/gists{/gist_id}","starred_url":"https://api.github.com/users/keithtobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithtobin/subscriptions","organizations_url":"https://api.github.com/users/keithtobin/orgs","repos_url":"https://api.github.com/users/keithtobin/repos","events_url":"https://api.github.com/users/keithtobin/events{/privacy}","received_events_url":"https://api.github.com/users/keithtobin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-05T16:19:51Z","updated_at":"2015-03-09T16:50:00Z","closed_at":"2015-03-09T16:50:00Z","body":"I got the latest clone of etcd and did a quick (see below), what was interesting was it take about 37 sec to complete.  \r\n\r\nclient := etcd.NewClient([]string{\"http://127.0.0.1:4001\"})\r\nstartTime := time.Now()\r\n\tfor i := 0; i < 1000; i++ {\r\n\t\tkey := strconv.Itoa(i)\r\n\t\t_, err := client.Set(key, key, 0)\r\n\t\tif err != nil {\r\n\t\t\tlog.Error(err)\r\n\t\t}\r\n\t}\r\n\r\nendTime := time.Now()\r\nfmt.Println(endTime.Sub(startTime))"}}