{"action":"created","comment":{"url":"https://api.github.com/repos/kowainik/co-log/pulls/comments/225525282","pull_request_review_id":165141672,"id":225525282,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTUyNTI4Mg==","diff_hunk":"@@ -0,0 +1,20 @@\n+Copyright (c) 2018 Alexander Vershilov","path":"co-log-benchmark/LICENSE","position":1,"original_position":1,"commit_id":"75ad412bf1f4ff1ee7a9585dc0428b9aa50af030","original_commit_id":"75ad412bf1f4ff1ee7a9585dc0428b9aa50af030","user":{"login":"qnikst","id":170227,"node_id":"MDQ6VXNlcjE3MDIyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/170227?v=4","gravatar_id":"","url":"https://api.github.com/users/qnikst","html_url":"https://github.com/qnikst","followers_url":"https://api.github.com/users/qnikst/followers","following_url":"https://api.github.com/users/qnikst/following{/other_user}","gists_url":"https://api.github.com/users/qnikst/gists{/gist_id}","starred_url":"https://api.github.com/users/qnikst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnikst/subscriptions","organizations_url":"https://api.github.com/users/qnikst/orgs","repos_url":"https://api.github.com/users/qnikst/repos","events_url":"https://api.github.com/users/qnikst/events{/privacy}","received_events_url":"https://api.github.com/users/qnikst/received_events","type":"User","site_admin":false},"body":"oh.. that was autogenerated.","created_at":"2018-10-16T12:54:25Z","updated_at":"2018-10-16T12:54:25Z","html_url":"https://github.com/kowainik/co-log/pull/64#discussion_r225525282","pull_request_url":"https://api.github.com/repos/kowainik/co-log/pulls/64","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kowainik/co-log/pulls/comments/225525282"},"html":{"href":"https://github.com/kowainik/co-log/pull/64#discussion_r225525282"},"pull_request":{"href":"https://api.github.com/repos/kowainik/co-log/pulls/64"}},"in_reply_to_id":225523464},"pull_request":{"url":"https://api.github.com/repos/kowainik/co-log/pulls/64","id":222746664,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNzQ2NjY0","html_url":"https://github.com/kowainik/co-log/pull/64","diff_url":"https://github.com/kowainik/co-log/pull/64.diff","patch_url":"https://github.com/kowainik/co-log/pull/64.patch","issue_url":"https://api.github.com/repos/kowainik/co-log/issues/64","number":64,"state":"open","locked":false,"title":"Introduce basic benchmarks of the library.","user":{"login":"qnikst","id":170227,"node_id":"MDQ6VXNlcjE3MDIyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/170227?v=4","gravatar_id":"","url":"https://api.github.com/users/qnikst","html_url":"https://github.com/qnikst","followers_url":"https://api.github.com/users/qnikst/followers","following_url":"https://api.github.com/users/qnikst/following{/other_user}","gists_url":"https://api.github.com/users/qnikst/gists{/gist_id}","starred_url":"https://api.github.com/users/qnikst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnikst/subscriptions","organizations_url":"https://api.github.com/users/qnikst/orgs","repos_url":"https://api.github.com/users/qnikst/repos","events_url":"https://api.github.com/users/qnikst/events{/privacy}","received_events_url":"https://api.github.com/users/qnikst/received_events","type":"User","site_admin":false},"body":"Introduce basic benchmarks of the log mechanism that allows\r\ntesting the overhead of the each feature added.\r\n\r\nExample output:\r\n```\r\nDump 10k messages (in a forked process):\r\nbaseline                                           0.001114674s\r\nstdout<string                                      0.005194026s\r\nstdout<text                                        0.004967748s\r\nstdout<bytestring                                  0.002918046s\r\nstderr<bytestring                                  0.01753503s\r\n{stdout<>stderr}<bytestring                        0.017461043s\r\nstdout<format<message                              0.009314225s\r\nstdout<format<message{with callstack}              0.009744045s\r\nstdout<format<message{with callstack:5}            0.018102189s\r\nstdout<format<message{with callstack:50}           0.018013676s\r\nstdout<bytestring<format<message                   0.009570143s\r\nstdout<bytestring<rich-message<upgrade<message     0.134770134s\r\n```\r\nCurrently benchmarks are implemented outside of the main\r\napplication as I had trouble to make `cabal new-configure` find\r\nthe build plan without `--allow-newer`. Also these benchmarks\r\nmay introduce dependencies on the other logging libraries in the\r\nfuture.\r\n\r\nAt this point of time only the simplest benchmarks were introduced.\r\nThis benchmarks are testing sequencial dump of the logs with different\r\nfeatures added atop. Theoretically current benchmarks may be moved\r\nto the application and criterion can be used for measuring time.\r\nHowever I planned to make more long running benchmarks where criterion\r\nmay not shine, and such benchmarks may make CI time much larger for\r\nnot purpose.","created_at":"2018-10-14T22:10:13Z","updated_at":"2018-10-16T12:54:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc73c80b64dc3399bee99d94afdb40a195a6da09","assignee":{"login":"qnikst","id":170227,"node_id":"MDQ6VXNlcjE3MDIyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/170227?v=4","gravatar_id":"","url":"https://api.github.com/users/qnikst","html_url":"https://github.com/qnikst","followers_url":"https://api.github.com/users/qnikst/followers","following_url":"https://api.github.com/users/qnikst/following{/other_user}","gists_url":"https://api.github.com/users/qnikst/gists{/gist_id}","starred_url":"https://api.github.com/users/qnikst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnikst/subscriptions","organizations_url":"https://api.github.com/users/qnikst/orgs","repos_url":"https://api.github.com/users/qnikst/repos","events_url":"https://api.github.com/users/qnikst/events{/privacy}","received_events_url":"https://api.github.com/users/qnikst/received_events","type":"User","site_admin":false},"assignees":[{"login":"qnikst","id":170227,"node_id":"MDQ6VXNlcjE3MDIyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/170227?v=4","gravatar_id":"","url":"https://api.github.com/users/qnikst","html_url":"https://github.com/qnikst","followers_url":"https://api.github.com/users/qnikst/followers","following_url":"https://api.github.com/users/qnikst/following{/other_user}","gists_url":"https://api.github.com/users/qnikst/gists{/gist_id}","starred_url":"https://api.github.com/users/qnikst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnikst/subscriptions","organizations_url":"https://api.github.com/users/qnikst/orgs","repos_url":"https://api.github.com/users/qnikst/repos","events_url":"https://api.github.com/users/qnikst/events{/privacy}","received_events_url":"https://api.github.com/users/qnikst/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"vrom911","id":8126674,"node_id":"MDQ6VXNlcjgxMjY2NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8126674?v=4","gravatar_id":"","url":"https://api.github.com/users/vrom911","html_url":"https://github.com/vrom911","followers_url":"https://api.github.com/users/vrom911/followers","following_url":"https://api.github.com/users/vrom911/following{/other_user}","gists_url":"https://api.github.com/users/vrom911/gists{/gist_id}","starred_url":"https://api.github.com/users/vrom911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrom911/subscriptions","organizations_url":"https://api.github.com/users/vrom911/orgs","repos_url":"https://api.github.com/users/vrom911/repos","events_url":"https://api.github.com/users/vrom911/events{/privacy}","received_events_url":"https://api.github.com/users/vrom911/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1074257013,"node_id":"MDU6TGFiZWwxMDc0MjU3MDEz","url":"https://api.github.com/repos/kowainik/co-log/labels/Hacktoberfest","name":"Hacktoberfest","color":"FBA36B","default":false},{"id":1070804093,"node_id":"MDU6TGFiZWwxMDcwODA0MDkz","url":"https://api.github.com/repos/kowainik/co-log/labels/benchmarks","name":"benchmarks","color":"cbc6ff","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kowainik/co-log/pulls/64/commits","review_comments_url":"https://api.github.com/repos/kowainik/co-log/pulls/64/comments","review_comment_url":"https://api.github.com/repos/kowainik/co-log/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kowainik/co-log/issues/64/comments","statuses_url":"https://api.github.com/repos/kowainik/co-log/statuses/75ad412bf1f4ff1ee7a9585dc0428b9aa50af030","head":{"label":"qnikst:bench","ref":"bench","sha":"75ad412bf1f4ff1ee7a9585dc0428b9aa50af030","user":{"login":"qnikst","id":170227,"node_id":"MDQ6VXNlcjE3MDIyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/170227?v=4","gravatar_id":"","url":"https://api.github.com/users/qnikst","html_url":"https://github.com/qnikst","followers_url":"https://api.github.com/users/qnikst/followers","following_url":"https://api.github.com/users/qnikst/following{/other_user}","gists_url":"https://api.github.com/users/qnikst/gists{/gist_id}","starred_url":"https://api.github.com/users/qnikst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnikst/subscriptions","organizations_url":"https://api.github.com/users/qnikst/orgs","repos_url":"https://api.github.com/users/qnikst/repos","events_url":"https://api.github.com/users/qnikst/events{/privacy}","received_events_url":"https://api.github.com/users/qnikst/received_events","type":"User","site_admin":false},"repo":{"id":151165241,"node_id":"MDEwOlJlcG9zaXRvcnkxNTExNjUyNDE=","name":"co-log","full_name":"qnikst/co-log","private":false,"owner":{"login":"qnikst","id":170227,"node_id":"MDQ6VXNlcjE3MDIyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/170227?v=4","gravatar_id":"","url":"https://api.github.com/users/qnikst","html_url":"https://github.com/qnikst","followers_url":"https://api.github.com/users/qnikst/followers","following_url":"https://api.github.com/users/qnikst/following{/other_user}","gists_url":"https://api.github.com/users/qnikst/gists{/gist_id}","starred_url":"https://api.github.com/users/qnikst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnikst/subscriptions","organizations_url":"https://api.github.com/users/qnikst/orgs","repos_url":"https://api.github.com/users/qnikst/repos","events_url":"https://api.github.com/users/qnikst/events{/privacy}","received_events_url":"https://api.github.com/users/qnikst/received_events","type":"User","site_admin":false},"html_url":"https://github.com/qnikst/co-log","description":"📓 Logging library","fork":true,"url":"https://api.github.com/repos/qnikst/co-log","forks_url":"https://api.github.com/repos/qnikst/co-log/forks","keys_url":"https://api.github.com/repos/qnikst/co-log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qnikst/co-log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qnikst/co-log/teams","hooks_url":"https://api.github.com/repos/qnikst/co-log/hooks","issue_events_url":"https://api.github.com/repos/qnikst/co-log/issues/events{/number}","events_url":"https://api.github.com/repos/qnikst/co-log/events","assignees_url":"https://api.github.com/repos/qnikst/co-log/assignees{/user}","branches_url":"https://api.github.com/repos/qnikst/co-log/branches{/branch}","tags_url":"https://api.github.com/repos/qnikst/co-log/tags","blobs_url":"https://api.github.com/repos/qnikst/co-log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qnikst/co-log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qnikst/co-log/git/refs{/sha}","trees_url":"https://api.github.com/repos/qnikst/co-log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qnikst/co-log/statuses/{sha}","languages_url":"https://api.github.com/repos/qnikst/co-log/languages","stargazers_url":"https://api.github.com/repos/qnikst/co-log/stargazers","contributors_url":"https://api.github.com/repos/qnikst/co-log/contributors","subscribers_url":"https://api.github.com/repos/qnikst/co-log/subscribers","subscription_url":"https://api.github.com/repos/qnikst/co-log/subscription","commits_url":"https://api.github.com/repos/qnikst/co-log/commits{/sha}","git_commits_url":"https://api.github.com/repos/qnikst/co-log/git/commits{/sha}","comments_url":"https://api.github.com/repos/qnikst/co-log/comments{/number}","issue_comment_url":"https://api.github.com/repos/qnikst/co-log/issues/comments{/number}","contents_url":"https://api.github.com/repos/qnikst/co-log/contents/{+path}","compare_url":"https://api.github.com/repos/qnikst/co-log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qnikst/co-log/merges","archive_url":"https://api.github.com/repos/qnikst/co-log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qnikst/co-log/downloads","issues_url":"https://api.github.com/repos/qnikst/co-log/issues{/number}","pulls_url":"https://api.github.com/repos/qnikst/co-log/pulls{/number}","milestones_url":"https://api.github.com/repos/qnikst/co-log/milestones{/number}","notifications_url":"https://api.github.com/repos/qnikst/co-log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qnikst/co-log/labels{/name}","releases_url":"https://api.github.com/repos/qnikst/co-log/releases{/id}","deployments_url":"https://api.github.com/repos/qnikst/co-log/deployments","created_at":"2018-10-01T21:46:34Z","updated_at":"2018-10-01T21:46:36Z","pushed_at":"2018-10-14T22:09:36Z","git_url":"git://github.com/qnikst/co-log.git","ssh_url":"git@github.com:qnikst/co-log.git","clone_url":"https://github.com/qnikst/co-log.git","svn_url":"https://github.com/qnikst/co-log","homepage":"https://kowainik.github.io/projects/co-log.html","size":71,"stargazers_count":0,"watchers_count":0,"language":"Haskell","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":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kowainik:master","ref":"master","sha":"76964369c38152b2ad10bd3c452e0e7a0a90dfb9","user":{"login":"kowainik","id":37126241,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MTI2MjQx","avatar_url":"https://avatars3.githubusercontent.com/u/37126241?v=4","gravatar_id":"","url":"https://api.github.com/users/kowainik","html_url":"https://github.com/kowainik","followers_url":"https://api.github.com/users/kowainik/followers","following_url":"https://api.github.com/users/kowainik/following{/other_user}","gists_url":"https://api.github.com/users/kowainik/gists{/gist_id}","starred_url":"https://api.github.com/users/kowainik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowainik/subscriptions","organizations_url":"https://api.github.com/users/kowainik/orgs","repos_url":"https://api.github.com/users/kowainik/repos","events_url":"https://api.github.com/users/kowainik/events{/privacy}","received_events_url":"https://api.github.com/users/kowainik/received_events","type":"Organization","site_admin":false},"repo":{"id":142413428,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI0MTM0Mjg=","name":"co-log","full_name":"kowainik/co-log","private":false,"owner":{"login":"kowainik","id":37126241,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MTI2MjQx","avatar_url":"https://avatars3.githubusercontent.com/u/37126241?v=4","gravatar_id":"","url":"https://api.github.com/users/kowainik","html_url":"https://github.com/kowainik","followers_url":"https://api.github.com/users/kowainik/followers","following_url":"https://api.github.com/users/kowainik/following{/other_user}","gists_url":"https://api.github.com/users/kowainik/gists{/gist_id}","starred_url":"https://api.github.com/users/kowainik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowainik/subscriptions","organizations_url":"https://api.github.com/users/kowainik/orgs","repos_url":"https://api.github.com/users/kowainik/repos","events_url":"https://api.github.com/users/kowainik/events{/privacy}","received_events_url":"https://api.github.com/users/kowainik/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kowainik/co-log","description":"📓 Logging library","fork":false,"url":"https://api.github.com/repos/kowainik/co-log","forks_url":"https://api.github.com/repos/kowainik/co-log/forks","keys_url":"https://api.github.com/repos/kowainik/co-log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kowainik/co-log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kowainik/co-log/teams","hooks_url":"https://api.github.com/repos/kowainik/co-log/hooks","issue_events_url":"https://api.github.com/repos/kowainik/co-log/issues/events{/number}","events_url":"https://api.github.com/repos/kowainik/co-log/events","assignees_url":"https://api.github.com/repos/kowainik/co-log/assignees{/user}","branches_url":"https://api.github.com/repos/kowainik/co-log/branches{/branch}","tags_url":"https://api.github.com/repos/kowainik/co-log/tags","blobs_url":"https://api.github.com/repos/kowainik/co-log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kowainik/co-log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kowainik/co-log/git/refs{/sha}","trees_url":"https://api.github.com/repos/kowainik/co-log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kowainik/co-log/statuses/{sha}","languages_url":"https://api.github.com/repos/kowainik/co-log/languages","stargazers_url":"https://api.github.com/repos/kowainik/co-log/stargazers","contributors_url":"https://api.github.com/repos/kowainik/co-log/contributors","subscribers_url":"https://api.github.com/repos/kowainik/co-log/subscribers","subscription_url":"https://api.github.com/repos/kowainik/co-log/subscription","commits_url":"https://api.github.com/repos/kowainik/co-log/commits{/sha}","git_commits_url":"https://api.github.com/repos/kowainik/co-log/git/commits{/sha}","comments_url":"https://api.github.com/repos/kowainik/co-log/comments{/number}","issue_comment_url":"https://api.github.com/repos/kowainik/co-log/issues/comments{/number}","contents_url":"https://api.github.com/repos/kowainik/co-log/contents/{+path}","compare_url":"https://api.github.com/repos/kowainik/co-log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kowainik/co-log/merges","archive_url":"https://api.github.com/repos/kowainik/co-log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kowainik/co-log/downloads","issues_url":"https://api.github.com/repos/kowainik/co-log/issues{/number}","pulls_url":"https://api.github.com/repos/kowainik/co-log/pulls{/number}","milestones_url":"https://api.github.com/repos/kowainik/co-log/milestones{/number}","notifications_url":"https://api.github.com/repos/kowainik/co-log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kowainik/co-log/labels{/name}","releases_url":"https://api.github.com/repos/kowainik/co-log/releases{/id}","deployments_url":"https://api.github.com/repos/kowainik/co-log/deployments","created_at":"2018-07-26T08:40:11Z","updated_at":"2018-10-13T15:23:25Z","pushed_at":"2018-10-14T22:10:14Z","git_url":"git://github.com/kowainik/co-log.git","ssh_url":"git@github.com:kowainik/co-log.git","clone_url":"https://github.com/kowainik/co-log.git","svn_url":"https://github.com/kowainik/co-log","homepage":"https://kowainik.github.io/projects/co-log.html","size":65,"stargazers_count":33,"watchers_count":33,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":9,"open_issues":9,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kowainik/co-log/pulls/64"},"html":{"href":"https://github.com/kowainik/co-log/pull/64"},"issue":{"href":"https://api.github.com/repos/kowainik/co-log/issues/64"},"comments":{"href":"https://api.github.com/repos/kowainik/co-log/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/kowainik/co-log/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/kowainik/co-log/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kowainik/co-log/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/kowainik/co-log/statuses/75ad412bf1f4ff1ee7a9585dc0428b9aa50af030"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"qnikst"}}