{"action":"created","issue":{"url":"https://api.github.com/repos/tinylib/synapse/issues/17","labels_url":"https://api.github.com/repos/tinylib/synapse/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/tinylib/synapse/issues/17/comments","events_url":"https://api.github.com/repos/tinylib/synapse/issues/17/events","html_url":"https://github.com/tinylib/synapse/pull/17","id":54409628,"number":17,"title":"Coalesce - fixes #15","user":{"login":"philhofer","id":2940902,"avatar_url":"https://avatars.githubusercontent.com/u/2940902?v=3","gravatar_id":"","url":"https://api.github.com/users/philhofer","html_url":"https://github.com/philhofer","followers_url":"https://api.github.com/users/philhofer/followers","following_url":"https://api.github.com/users/philhofer/following{/other_user}","gists_url":"https://api.github.com/users/philhofer/gists{/gist_id}","starred_url":"https://api.github.com/users/philhofer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philhofer/subscriptions","organizations_url":"https://api.github.com/users/philhofer/orgs","repos_url":"https://api.github.com/users/philhofer/repos","events_url":"https://api.github.com/users/philhofer/events{/privacy}","received_events_url":"https://api.github.com/users/philhofer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tinylib/synapse/labels/performance","name":"performance","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-15T03:49:46Z","updated_at":"2015-01-17T19:52:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tinylib/synapse/pulls/17","html_url":"https://github.com/tinylib/synapse/pull/17","diff_url":"https://github.com/tinylib/synapse/pull/17.diff","patch_url":"https://github.com/tinylib/synapse/pull/17.patch"},"body":"Still work-in-progress, but done enough to PR.\r\n\r\nWrites on the client and server side are batched if possible. The performance improvements are really, really large.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/tinylib/synapse/17)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/tinylib/synapse/issues/comments/70381642","html_url":"https://github.com/tinylib/synapse/pull/17#issuecomment-70381642","issue_url":"https://api.github.com/repos/tinylib/synapse/issues/17","id":70381642,"user":{"login":"philhofer","id":2940902,"avatar_url":"https://avatars.githubusercontent.com/u/2940902?v=3","gravatar_id":"","url":"https://api.github.com/users/philhofer","html_url":"https://github.com/philhofer","followers_url":"https://api.github.com/users/philhofer/followers","following_url":"https://api.github.com/users/philhofer/following{/other_user}","gists_url":"https://api.github.com/users/philhofer/gists{/gist_id}","starred_url":"https://api.github.com/users/philhofer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philhofer/subscriptions","organizations_url":"https://api.github.com/users/philhofer/orgs","repos_url":"https://api.github.com/users/philhofer/repos","events_url":"https://api.github.com/users/philhofer/events{/privacy}","received_events_url":"https://api.github.com/users/philhofer/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T19:52:44Z","updated_at":"2015-01-17T19:52:44Z","body":"So, a summary of final performance diffs, w/ `GOMAXPROCS=2` and `(*testing.Benchmark).SetParallelism(20)`:\r\n\r\n| Benchmark | ns/op Before | ns/op After |\r\n|:---------------:|:-----------------:|:---------------:|\r\n| Client Pool | 9616 | 3678 |\r\n| TCP Echo | 10716 | 2243 |\r\n| Unix no-op | 3225 | 1591 | \r\n| Pipe no-op | 2745 | 1257 |\r\n\r\nHooray!\r\n\r\nMoreover, now things get *marginally* (but consistently) faster in the `GOMAXPROCS=4` case, rather than significantly slower."}}