{"action":"created","comment":{"url":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/comments/201605173","pull_request_review_id":136130125,"id":201605173,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTYwNTE3Mw==","diff_hunk":"@@ -5,6 +5,57 @@\n \n namespace JustEat.StatsD\n {\n+    internal static class StringBuilderCache\n+    {\n+        private const int DefaultCapacity = 256;\n+        private const int MaxBuilderSize = DefaultCapacity * 3;\n+\n+        [ThreadStatic]\n+        private static StringBuilder t_cachedInstance;\n+\n+        /// <summary>Written a StringBuilder for the specified capacity.</summary>","path":"src/JustEat.StatsD/StatsDMessageFormatter.cs","position":12,"original_position":12,"commit_id":"cd1ddf117f7ce378cf3df0ab5780312ccc1298c4","original_commit_id":"cd1ddf117f7ce378cf3df0ab5780312ccc1298c4","user":{"login":"martincostello","id":1439341,"node_id":"MDQ6VXNlcjE0MzkzNDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1439341?v=4","gravatar_id":"","url":"https://api.github.com/users/martincostello","html_url":"https://github.com/martincostello","followers_url":"https://api.github.com/users/martincostello/followers","following_url":"https://api.github.com/users/martincostello/following{/other_user}","gists_url":"https://api.github.com/users/martincostello/gists{/gist_id}","starred_url":"https://api.github.com/users/martincostello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martincostello/subscriptions","organizations_url":"https://api.github.com/users/martincostello/orgs","repos_url":"https://api.github.com/users/martincostello/repos","events_url":"https://api.github.com/users/martincostello/events{/privacy}","received_events_url":"https://api.github.com/users/martincostello/received_events","type":"User","site_admin":false},"body":"This description isn't clear.","created_at":"2018-07-11T08:30:30Z","updated_at":"2018-07-11T08:34:55Z","html_url":"https://github.com/justeat/JustEat.StatsD/pull/77#discussion_r201605173","pull_request_url":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/comments/201605173"},"html":{"href":"https://github.com/justeat/JustEat.StatsD/pull/77#discussion_r201605173"},"pull_request":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77","id":199964441,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTY0NDQx","html_url":"https://github.com/justeat/JustEat.StatsD/pull/77","diff_url":"https://github.com/justeat/JustEat.StatsD/pull/77.diff","patch_url":"https://github.com/justeat/JustEat.StatsD/pull/77.patch","issue_url":"https://api.github.com/repos/justeat/JustEat.StatsD/issues/77","number":77,"state":"open","locked":false,"title":"[RFC] Spans","user":{"login":"dv00d00","id":1162823,"node_id":"MDQ6VXNlcjExNjI4MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1162823?v=4","gravatar_id":"","url":"https://api.github.com/users/dv00d00","html_url":"https://github.com/dv00d00","followers_url":"https://api.github.com/users/dv00d00/followers","following_url":"https://api.github.com/users/dv00d00/following{/other_user}","gists_url":"https://api.github.com/users/dv00d00/gists{/gist_id}","starred_url":"https://api.github.com/users/dv00d00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dv00d00/subscriptions","organizations_url":"https://api.github.com/users/dv00d00/orgs","repos_url":"https://api.github.com/users/dv00d00/repos","events_url":"https://api.github.com/users/dv00d00/events{/privacy}","received_events_url":"https://api.github.com/users/dv00d00/received_events","type":"User","site_admin":false},"body":"This is a draft of string formatting with spans. Benchamrk.Net shows 0b allocated for formatting and constant 800b for transporting stats. \r\n\r\nIs there an option for such kind of change to get merged?","created_at":"2018-07-08T22:33:39Z","updated_at":"2018-07-11T08:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cd09b91935af21aa6a859796eb4be660fd8f695","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77/commits","review_comments_url":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77/comments","review_comment_url":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justeat/JustEat.StatsD/issues/77/comments","statuses_url":"https://api.github.com/repos/justeat/JustEat.StatsD/statuses/cd1ddf117f7ce378cf3df0ab5780312ccc1298c4","head":{"label":"dv00d00:span-playground","ref":"span-playground","sha":"cd1ddf117f7ce378cf3df0ab5780312ccc1298c4","user":{"login":"dv00d00","id":1162823,"node_id":"MDQ6VXNlcjExNjI4MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1162823?v=4","gravatar_id":"","url":"https://api.github.com/users/dv00d00","html_url":"https://github.com/dv00d00","followers_url":"https://api.github.com/users/dv00d00/followers","following_url":"https://api.github.com/users/dv00d00/following{/other_user}","gists_url":"https://api.github.com/users/dv00d00/gists{/gist_id}","starred_url":"https://api.github.com/users/dv00d00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dv00d00/subscriptions","organizations_url":"https://api.github.com/users/dv00d00/orgs","repos_url":"https://api.github.com/users/dv00d00/repos","events_url":"https://api.github.com/users/dv00d00/events{/privacy}","received_events_url":"https://api.github.com/users/dv00d00/received_events","type":"User","site_admin":false},"repo":{"id":139997930,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5OTc5MzA=","name":"JustEat.StatsD","full_name":"dv00d00/JustEat.StatsD","owner":{"login":"dv00d00","id":1162823,"node_id":"MDQ6VXNlcjExNjI4MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1162823?v=4","gravatar_id":"","url":"https://api.github.com/users/dv00d00","html_url":"https://github.com/dv00d00","followers_url":"https://api.github.com/users/dv00d00/followers","following_url":"https://api.github.com/users/dv00d00/following{/other_user}","gists_url":"https://api.github.com/users/dv00d00/gists{/gist_id}","starred_url":"https://api.github.com/users/dv00d00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dv00d00/subscriptions","organizations_url":"https://api.github.com/users/dv00d00/orgs","repos_url":"https://api.github.com/users/dv00d00/repos","events_url":"https://api.github.com/users/dv00d00/events{/privacy}","received_events_url":"https://api.github.com/users/dv00d00/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dv00d00/JustEat.StatsD","description":"Our library for publishing metrics to statsd","fork":true,"url":"https://api.github.com/repos/dv00d00/JustEat.StatsD","forks_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/forks","keys_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/teams","hooks_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/hooks","issue_events_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/issues/events{/number}","events_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/events","assignees_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/assignees{/user}","branches_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/branches{/branch}","tags_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/tags","blobs_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/git/refs{/sha}","trees_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/statuses/{sha}","languages_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/languages","stargazers_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/stargazers","contributors_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/contributors","subscribers_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/subscribers","subscription_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/subscription","commits_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/commits{/sha}","git_commits_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/git/commits{/sha}","comments_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/comments{/number}","issue_comment_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/issues/comments{/number}","contents_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/contents/{+path}","compare_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/merges","archive_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/downloads","issues_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/issues{/number}","pulls_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/pulls{/number}","milestones_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/milestones{/number}","notifications_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/labels{/name}","releases_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/releases{/id}","deployments_url":"https://api.github.com/repos/dv00d00/JustEat.StatsD/deployments","created_at":"2018-07-06T14:56:13Z","updated_at":"2018-07-06T14:56:15Z","pushed_at":"2018-07-10T18:14:32Z","git_url":"git://github.com/dv00d00/JustEat.StatsD.git","ssh_url":"git@github.com:dv00d00/JustEat.StatsD.git","clone_url":"https://github.com/dv00d00/JustEat.StatsD.git","svn_url":"https://github.com/dv00d00/JustEat.StatsD","homepage":null,"size":18884,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"justeat:master","ref":"master","sha":"5a2dfaeaab9f7adafe02a145035ff3fa7681bf04","user":{"login":"justeat","id":1516790,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTY3OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1516790?v=4","gravatar_id":"","url":"https://api.github.com/users/justeat","html_url":"https://github.com/justeat","followers_url":"https://api.github.com/users/justeat/followers","following_url":"https://api.github.com/users/justeat/following{/other_user}","gists_url":"https://api.github.com/users/justeat/gists{/gist_id}","starred_url":"https://api.github.com/users/justeat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justeat/subscriptions","organizations_url":"https://api.github.com/users/justeat/orgs","repos_url":"https://api.github.com/users/justeat/repos","events_url":"https://api.github.com/users/justeat/events{/privacy}","received_events_url":"https://api.github.com/users/justeat/received_events","type":"Organization","site_admin":false},"repo":{"id":39507491,"node_id":"MDEwOlJlcG9zaXRvcnkzOTUwNzQ5MQ==","name":"JustEat.StatsD","full_name":"justeat/JustEat.StatsD","owner":{"login":"justeat","id":1516790,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTY3OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1516790?v=4","gravatar_id":"","url":"https://api.github.com/users/justeat","html_url":"https://github.com/justeat","followers_url":"https://api.github.com/users/justeat/followers","following_url":"https://api.github.com/users/justeat/following{/other_user}","gists_url":"https://api.github.com/users/justeat/gists{/gist_id}","starred_url":"https://api.github.com/users/justeat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justeat/subscriptions","organizations_url":"https://api.github.com/users/justeat/orgs","repos_url":"https://api.github.com/users/justeat/repos","events_url":"https://api.github.com/users/justeat/events{/privacy}","received_events_url":"https://api.github.com/users/justeat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/justeat/JustEat.StatsD","description":"Our library for publishing metrics to statsd","fork":false,"url":"https://api.github.com/repos/justeat/JustEat.StatsD","forks_url":"https://api.github.com/repos/justeat/JustEat.StatsD/forks","keys_url":"https://api.github.com/repos/justeat/JustEat.StatsD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justeat/JustEat.StatsD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justeat/JustEat.StatsD/teams","hooks_url":"https://api.github.com/repos/justeat/JustEat.StatsD/hooks","issue_events_url":"https://api.github.com/repos/justeat/JustEat.StatsD/issues/events{/number}","events_url":"https://api.github.com/repos/justeat/JustEat.StatsD/events","assignees_url":"https://api.github.com/repos/justeat/JustEat.StatsD/assignees{/user}","branches_url":"https://api.github.com/repos/justeat/JustEat.StatsD/branches{/branch}","tags_url":"https://api.github.com/repos/justeat/JustEat.StatsD/tags","blobs_url":"https://api.github.com/repos/justeat/JustEat.StatsD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justeat/JustEat.StatsD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justeat/JustEat.StatsD/git/refs{/sha}","trees_url":"https://api.github.com/repos/justeat/JustEat.StatsD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justeat/JustEat.StatsD/statuses/{sha}","languages_url":"https://api.github.com/repos/justeat/JustEat.StatsD/languages","stargazers_url":"https://api.github.com/repos/justeat/JustEat.StatsD/stargazers","contributors_url":"https://api.github.com/repos/justeat/JustEat.StatsD/contributors","subscribers_url":"https://api.github.com/repos/justeat/JustEat.StatsD/subscribers","subscription_url":"https://api.github.com/repos/justeat/JustEat.StatsD/subscription","commits_url":"https://api.github.com/repos/justeat/JustEat.StatsD/commits{/sha}","git_commits_url":"https://api.github.com/repos/justeat/JustEat.StatsD/git/commits{/sha}","comments_url":"https://api.github.com/repos/justeat/JustEat.StatsD/comments{/number}","issue_comment_url":"https://api.github.com/repos/justeat/JustEat.StatsD/issues/comments{/number}","contents_url":"https://api.github.com/repos/justeat/JustEat.StatsD/contents/{+path}","compare_url":"https://api.github.com/repos/justeat/JustEat.StatsD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justeat/JustEat.StatsD/merges","archive_url":"https://api.github.com/repos/justeat/JustEat.StatsD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justeat/JustEat.StatsD/downloads","issues_url":"https://api.github.com/repos/justeat/JustEat.StatsD/issues{/number}","pulls_url":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls{/number}","milestones_url":"https://api.github.com/repos/justeat/JustEat.StatsD/milestones{/number}","notifications_url":"https://api.github.com/repos/justeat/JustEat.StatsD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justeat/JustEat.StatsD/labels{/name}","releases_url":"https://api.github.com/repos/justeat/JustEat.StatsD/releases{/id}","deployments_url":"https://api.github.com/repos/justeat/JustEat.StatsD/deployments","created_at":"2015-07-22T13:26:52Z","updated_at":"2018-07-09T20:22:14Z","pushed_at":"2018-07-10T18:14:34Z","git_url":"git://github.com/justeat/JustEat.StatsD.git","ssh_url":"git@github.com:justeat/JustEat.StatsD.git","clone_url":"https://github.com/justeat/JustEat.StatsD.git","svn_url":"https://github.com/justeat/JustEat.StatsD","homepage":null,"size":18864,"stargazers_count":12,"watchers_count":12,"language":"C#","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":21,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77"},"html":{"href":"https://github.com/justeat/JustEat.StatsD/pull/77"},"issue":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/issues/77"},"comments":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/justeat/JustEat.StatsD/statuses/cd1ddf117f7ce378cf3df0ab5780312ccc1298c4"}},"author_association":"NONE"}}
{"actor":{"display_login":"martincostello"}}