{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/chonla/format/pulls/4","id":198742373,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NzQyMzcz","html_url":"https://github.com/chonla/format/pull/4","diff_url":"https://github.com/chonla/format/pull/4.diff","patch_url":"https://github.com/chonla/format/pull/4.patch","issue_url":"https://api.github.com/repos/chonla/format/issues/4","number":4,"state":"open","locked":false,"title":"Optimize Sprintfln() by used fixed allocate slice instead of append","user":{"login":"wingyplus","id":484530,"node_id":"MDQ6VXNlcjQ4NDUzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/484530?v=4","gravatar_id":"","url":"https://api.github.com/users/wingyplus","html_url":"https://github.com/wingyplus","followers_url":"https://api.github.com/users/wingyplus/followers","following_url":"https://api.github.com/users/wingyplus/following{/other_user}","gists_url":"https://api.github.com/users/wingyplus/gists{/gist_id}","starred_url":"https://api.github.com/users/wingyplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wingyplus/subscriptions","organizations_url":"https://api.github.com/users/wingyplus/orgs","repos_url":"https://api.github.com/users/wingyplus/repos","events_url":"https://api.github.com/users/wingyplus/events{/privacy}","received_events_url":"https://api.github.com/users/wingyplus/received_events","type":"User","site_admin":false},"body":"The benchmark result compare to master branch is:\r\n\r\nbenchmark               old ns/op     new ns/op     delta\r\nBenchmarkSprintln       2904          2760          -4.96%\r\nBenchmarkSprintln-2     2928          2775          -5.23%\r\nBenchmarkSprintln-4     2937          2778          -5.41%\r\nBenchmarkSprintln-8     2919          2778          -4.83%\r\n\r\nbenchmark               old allocs     new allocs     delta\r\nBenchmarkSprintln       20             18             -10.00%\r\nBenchmarkSprintln-2     20             18             -10.00%\r\nBenchmarkSprintln-4     20             18             -10.00%\r\nBenchmarkSprintln-8     20             18             -10.00%\r\n\r\nbenchmark               old bytes     new bytes     delta\r\nBenchmarkSprintln       985           936           -4.97%\r\nBenchmarkSprintln-2     988           939           -4.96%\r\nBenchmarkSprintln-4     988           939           -4.96%\r\nBenchmarkSprintln-8     990           939           -5.15%","created_at":"2018-07-02T17:22:27Z","updated_at":"2018-07-02T17:22:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chonla/format/pulls/4/commits","review_comments_url":"https://api.github.com/repos/chonla/format/pulls/4/comments","review_comment_url":"https://api.github.com/repos/chonla/format/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chonla/format/issues/4/comments","statuses_url":"https://api.github.com/repos/chonla/format/statuses/66a68fa50d6679b7b9b34d4816f80844da7d356b","head":{"label":"wingyplus:optimize_sprintfln","ref":"optimize_sprintfln","sha":"66a68fa50d6679b7b9b34d4816f80844da7d356b","user":{"login":"wingyplus","id":484530,"node_id":"MDQ6VXNlcjQ4NDUzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/484530?v=4","gravatar_id":"","url":"https://api.github.com/users/wingyplus","html_url":"https://github.com/wingyplus","followers_url":"https://api.github.com/users/wingyplus/followers","following_url":"https://api.github.com/users/wingyplus/following{/other_user}","gists_url":"https://api.github.com/users/wingyplus/gists{/gist_id}","starred_url":"https://api.github.com/users/wingyplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wingyplus/subscriptions","organizations_url":"https://api.github.com/users/wingyplus/orgs","repos_url":"https://api.github.com/users/wingyplus/repos","events_url":"https://api.github.com/users/wingyplus/events{/privacy}","received_events_url":"https://api.github.com/users/wingyplus/received_events","type":"User","site_admin":false},"repo":{"id":139470286,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk0NzAyODY=","name":"format","full_name":"wingyplus/format","owner":{"login":"wingyplus","id":484530,"node_id":"MDQ6VXNlcjQ4NDUzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/484530?v=4","gravatar_id":"","url":"https://api.github.com/users/wingyplus","html_url":"https://github.com/wingyplus","followers_url":"https://api.github.com/users/wingyplus/followers","following_url":"https://api.github.com/users/wingyplus/following{/other_user}","gists_url":"https://api.github.com/users/wingyplus/gists{/gist_id}","starred_url":"https://api.github.com/users/wingyplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wingyplus/subscriptions","organizations_url":"https://api.github.com/users/wingyplus/orgs","repos_url":"https://api.github.com/users/wingyplus/repos","events_url":"https://api.github.com/users/wingyplus/events{/privacy}","received_events_url":"https://api.github.com/users/wingyplus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wingyplus/format","description":"Named format for golang fmt","fork":true,"url":"https://api.github.com/repos/wingyplus/format","forks_url":"https://api.github.com/repos/wingyplus/format/forks","keys_url":"https://api.github.com/repos/wingyplus/format/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wingyplus/format/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wingyplus/format/teams","hooks_url":"https://api.github.com/repos/wingyplus/format/hooks","issue_events_url":"https://api.github.com/repos/wingyplus/format/issues/events{/number}","events_url":"https://api.github.com/repos/wingyplus/format/events","assignees_url":"https://api.github.com/repos/wingyplus/format/assignees{/user}","branches_url":"https://api.github.com/repos/wingyplus/format/branches{/branch}","tags_url":"https://api.github.com/repos/wingyplus/format/tags","blobs_url":"https://api.github.com/repos/wingyplus/format/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wingyplus/format/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wingyplus/format/git/refs{/sha}","trees_url":"https://api.github.com/repos/wingyplus/format/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wingyplus/format/statuses/{sha}","languages_url":"https://api.github.com/repos/wingyplus/format/languages","stargazers_url":"https://api.github.com/repos/wingyplus/format/stargazers","contributors_url":"https://api.github.com/repos/wingyplus/format/contributors","subscribers_url":"https://api.github.com/repos/wingyplus/format/subscribers","subscription_url":"https://api.github.com/repos/wingyplus/format/subscription","commits_url":"https://api.github.com/repos/wingyplus/format/commits{/sha}","git_commits_url":"https://api.github.com/repos/wingyplus/format/git/commits{/sha}","comments_url":"https://api.github.com/repos/wingyplus/format/comments{/number}","issue_comment_url":"https://api.github.com/repos/wingyplus/format/issues/comments{/number}","contents_url":"https://api.github.com/repos/wingyplus/format/contents/{+path}","compare_url":"https://api.github.com/repos/wingyplus/format/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wingyplus/format/merges","archive_url":"https://api.github.com/repos/wingyplus/format/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wingyplus/format/downloads","issues_url":"https://api.github.com/repos/wingyplus/format/issues{/number}","pulls_url":"https://api.github.com/repos/wingyplus/format/pulls{/number}","milestones_url":"https://api.github.com/repos/wingyplus/format/milestones{/number}","notifications_url":"https://api.github.com/repos/wingyplus/format/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wingyplus/format/labels{/name}","releases_url":"https://api.github.com/repos/wingyplus/format/releases{/id}","deployments_url":"https://api.github.com/repos/wingyplus/format/deployments","created_at":"2018-07-02T16:55:37Z","updated_at":"2018-07-02T16:56:36Z","pushed_at":"2018-07-02T17:21:34Z","git_url":"git://github.com/wingyplus/format.git","ssh_url":"git@github.com:wingyplus/format.git","clone_url":"https://github.com/wingyplus/format.git","svn_url":"https://github.com/wingyplus/format","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chonla:master","ref":"master","sha":"69023839e39f425b062e9ce35a3f93e77d62548a","user":{"login":"chonla","id":1852635,"node_id":"MDQ6VXNlcjE4NTI2MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/1852635?v=4","gravatar_id":"","url":"https://api.github.com/users/chonla","html_url":"https://github.com/chonla","followers_url":"https://api.github.com/users/chonla/followers","following_url":"https://api.github.com/users/chonla/following{/other_user}","gists_url":"https://api.github.com/users/chonla/gists{/gist_id}","starred_url":"https://api.github.com/users/chonla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonla/subscriptions","organizations_url":"https://api.github.com/users/chonla/orgs","repos_url":"https://api.github.com/users/chonla/repos","events_url":"https://api.github.com/users/chonla/events{/privacy}","received_events_url":"https://api.github.com/users/chonla/received_events","type":"User","site_admin":false},"repo":{"id":83034793,"node_id":"MDEwOlJlcG9zaXRvcnk4MzAzNDc5Mw==","name":"format","full_name":"chonla/format","owner":{"login":"chonla","id":1852635,"node_id":"MDQ6VXNlcjE4NTI2MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/1852635?v=4","gravatar_id":"","url":"https://api.github.com/users/chonla","html_url":"https://github.com/chonla","followers_url":"https://api.github.com/users/chonla/followers","following_url":"https://api.github.com/users/chonla/following{/other_user}","gists_url":"https://api.github.com/users/chonla/gists{/gist_id}","starred_url":"https://api.github.com/users/chonla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonla/subscriptions","organizations_url":"https://api.github.com/users/chonla/orgs","repos_url":"https://api.github.com/users/chonla/repos","events_url":"https://api.github.com/users/chonla/events{/privacy}","received_events_url":"https://api.github.com/users/chonla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chonla/format","description":"Named format for golang fmt","fork":false,"url":"https://api.github.com/repos/chonla/format","forks_url":"https://api.github.com/repos/chonla/format/forks","keys_url":"https://api.github.com/repos/chonla/format/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chonla/format/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chonla/format/teams","hooks_url":"https://api.github.com/repos/chonla/format/hooks","issue_events_url":"https://api.github.com/repos/chonla/format/issues/events{/number}","events_url":"https://api.github.com/repos/chonla/format/events","assignees_url":"https://api.github.com/repos/chonla/format/assignees{/user}","branches_url":"https://api.github.com/repos/chonla/format/branches{/branch}","tags_url":"https://api.github.com/repos/chonla/format/tags","blobs_url":"https://api.github.com/repos/chonla/format/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chonla/format/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chonla/format/git/refs{/sha}","trees_url":"https://api.github.com/repos/chonla/format/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chonla/format/statuses/{sha}","languages_url":"https://api.github.com/repos/chonla/format/languages","stargazers_url":"https://api.github.com/repos/chonla/format/stargazers","contributors_url":"https://api.github.com/repos/chonla/format/contributors","subscribers_url":"https://api.github.com/repos/chonla/format/subscribers","subscription_url":"https://api.github.com/repos/chonla/format/subscription","commits_url":"https://api.github.com/repos/chonla/format/commits{/sha}","git_commits_url":"https://api.github.com/repos/chonla/format/git/commits{/sha}","comments_url":"https://api.github.com/repos/chonla/format/comments{/number}","issue_comment_url":"https://api.github.com/repos/chonla/format/issues/comments{/number}","contents_url":"https://api.github.com/repos/chonla/format/contents/{+path}","compare_url":"https://api.github.com/repos/chonla/format/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chonla/format/merges","archive_url":"https://api.github.com/repos/chonla/format/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chonla/format/downloads","issues_url":"https://api.github.com/repos/chonla/format/issues{/number}","pulls_url":"https://api.github.com/repos/chonla/format/pulls{/number}","milestones_url":"https://api.github.com/repos/chonla/format/milestones{/number}","notifications_url":"https://api.github.com/repos/chonla/format/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chonla/format/labels{/name}","releases_url":"https://api.github.com/repos/chonla/format/releases{/id}","deployments_url":"https://api.github.com/repos/chonla/format/deployments","created_at":"2017-02-24T11:28:07Z","updated_at":"2018-07-02T17:01:21Z","pushed_at":"2018-07-02T17:01:19Z","git_url":"git://github.com/chonla/format.git","ssh_url":"git@github.com:chonla/format.git","clone_url":"https://github.com/chonla/format.git","svn_url":"https://github.com/chonla/format","homepage":null,"size":6,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chonla/format/pulls/4"},"html":{"href":"https://github.com/chonla/format/pull/4"},"issue":{"href":"https://api.github.com/repos/chonla/format/issues/4"},"comments":{"href":"https://api.github.com/repos/chonla/format/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/chonla/format/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/chonla/format/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chonla/format/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/chonla/format/statuses/66a68fa50d6679b7b9b34d4816f80844da7d356b"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"wingyplus"}}