{"action":"created","comment":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments/242440836","pull_request_review_id":185948064,"id":242440836,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjQ0MDgzNg==","diff_hunk":"@@ -0,0 +1,39 @@\n+/*\n+ * Copyright 2010-2018 JetBrains s.r.o.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.jetbrains.ring\n+\n+class BenchmarkResult(val name: String, val status: Status,\n+                      val score: Double, val runtimeInUs: Double,\n+                      val repeat: Int, val warmup: Int) {\n+    enum class Status(val value: String) {\n+        PASSED(\"PASSED\"),\n+        FAILED(\"FAILED\")\n+    }\n+\n+    fun toJson(): String {","path":"performance/src/main/kotlin/org/jetbrains/ring/BenchmarkResult.kt","position":27,"original_position":27,"commit_id":"0e8938ff8e7549c304b47da64a29bed59f1065bc","original_commit_id":"165a238755321ef14b3a47dcff8324506257152d","user":{"login":"sbogolepov","id":1580082,"node_id":"MDQ6VXNlcjE1ODAwODI=","avatar_url":"https://avatars2.githubusercontent.com/u/1580082?v=4","gravatar_id":"","url":"https://api.github.com/users/sbogolepov","html_url":"https://github.com/sbogolepov","followers_url":"https://api.github.com/users/sbogolepov/followers","following_url":"https://api.github.com/users/sbogolepov/following{/other_user}","gists_url":"https://api.github.com/users/sbogolepov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbogolepov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbogolepov/subscriptions","organizations_url":"https://api.github.com/users/sbogolepov/orgs","repos_url":"https://api.github.com/users/sbogolepov/repos","events_url":"https://api.github.com/users/sbogolepov/events{/privacy}","received_events_url":"https://api.github.com/users/sbogolepov/received_events","type":"User","site_admin":false},"body":"I won't insist because in this trivial case it's fine, but in more complicated cases it will lead to bloated code with unnecessary cyclic dependencies between classes.","created_at":"2018-12-18T08:21:52Z","updated_at":"2018-12-18T08:21:52Z","html_url":"https://github.com/JetBrains/kotlin-native/pull/2471#discussion_r242440836","pull_request_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments/242440836"},"html":{"href":"https://github.com/JetBrains/kotlin-native/pull/2471#discussion_r242440836"},"pull_request":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471"}},"in_reply_to_id":242398530},"pull_request":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471","id":239058300,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MDU4MzAw","html_url":"https://github.com/JetBrains/kotlin-native/pull/2471","diff_url":"https://github.com/JetBrains/kotlin-native/pull/2471.diff","patch_url":"https://github.com/JetBrains/kotlin-native/pull/2471.patch","issue_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2471","number":2471,"state":"open","locked":false,"title":"Rewrote application with benchmarks using MPP plugin and added collec…","user":{"login":"LepilkinaElena","id":8722792,"node_id":"MDQ6VXNlcjg3MjI3OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8722792?v=4","gravatar_id":"","url":"https://api.github.com/users/LepilkinaElena","html_url":"https://github.com/LepilkinaElena","followers_url":"https://api.github.com/users/LepilkinaElena/followers","following_url":"https://api.github.com/users/LepilkinaElena/following{/other_user}","gists_url":"https://api.github.com/users/LepilkinaElena/gists{/gist_id}","starred_url":"https://api.github.com/users/LepilkinaElena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LepilkinaElena/subscriptions","organizations_url":"https://api.github.com/users/LepilkinaElena/orgs","repos_url":"https://api.github.com/users/LepilkinaElena/repos","events_url":"https://api.github.com/users/LepilkinaElena/events{/privacy}","received_events_url":"https://api.github.com/users/LepilkinaElena/received_events","type":"User","site_admin":false},"body":"Changes in application with benchmarks:\r\n\r\n- MPP plugin\r\n- Json format of report","created_at":"2018-12-17T08:13:30Z","updated_at":"2018-12-18T08:21:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6618296d18321eba88f3757b279780922b230c50","assignee":null,"assignees":[],"requested_reviewers":[{"login":"olonho","id":2600522,"node_id":"MDQ6VXNlcjI2MDA1MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/2600522?v=4","gravatar_id":"","url":"https://api.github.com/users/olonho","html_url":"https://github.com/olonho","followers_url":"https://api.github.com/users/olonho/followers","following_url":"https://api.github.com/users/olonho/following{/other_user}","gists_url":"https://api.github.com/users/olonho/gists{/gist_id}","starred_url":"https://api.github.com/users/olonho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olonho/subscriptions","organizations_url":"https://api.github.com/users/olonho/orgs","repos_url":"https://api.github.com/users/olonho/repos","events_url":"https://api.github.com/users/olonho/events{/privacy}","received_events_url":"https://api.github.com/users/olonho/received_events","type":"User","site_admin":false},{"login":"ilmat192","id":7298542,"node_id":"MDQ6VXNlcjcyOTg1NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/7298542?v=4","gravatar_id":"","url":"https://api.github.com/users/ilmat192","html_url":"https://github.com/ilmat192","followers_url":"https://api.github.com/users/ilmat192/followers","following_url":"https://api.github.com/users/ilmat192/following{/other_user}","gists_url":"https://api.github.com/users/ilmat192/gists{/gist_id}","starred_url":"https://api.github.com/users/ilmat192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilmat192/subscriptions","organizations_url":"https://api.github.com/users/ilmat192/orgs","repos_url":"https://api.github.com/users/ilmat192/repos","events_url":"https://api.github.com/users/ilmat192/events{/privacy}","received_events_url":"https://api.github.com/users/ilmat192/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471/commits","review_comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471/comments","review_comment_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2471/comments","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/0e8938ff8e7549c304b47da64a29bed59f1065bc","head":{"label":"JetBrains:benchmarks_results_to_json","ref":"benchmarks_results_to_json","sha":"0e8938ff8e7549c304b47da64a29bed59f1065bc","user":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":58957623,"node_id":"MDEwOlJlcG9zaXRvcnk1ODk1NzYyMw==","name":"kotlin-native","full_name":"JetBrains/kotlin-native","private":false,"owner":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/JetBrains/kotlin-native","description":"Kotlin/Native infrastructure","fork":false,"url":"https://api.github.com/repos/JetBrains/kotlin-native","forks_url":"https://api.github.com/repos/JetBrains/kotlin-native/forks","keys_url":"https://api.github.com/repos/JetBrains/kotlin-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/kotlin-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/kotlin-native/teams","hooks_url":"https://api.github.com/repos/JetBrains/kotlin-native/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/kotlin-native/events","assignees_url":"https://api.github.com/repos/JetBrains/kotlin-native/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/kotlin-native/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/tags","blobs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/kotlin-native/languages","stargazers_url":"https://api.github.com/repos/JetBrains/kotlin-native/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/kotlin-native/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscription","commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/kotlin-native/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/kotlin-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/kotlin-native/merges","archive_url":"https://api.github.com/repos/JetBrains/kotlin-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/kotlin-native/downloads","issues_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/kotlin-native/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/kotlin-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/kotlin-native/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/kotlin-native/releases{/id}","deployments_url":"https://api.github.com/repos/JetBrains/kotlin-native/deployments","created_at":"2016-05-16T18:40:45Z","updated_at":"2018-12-18T06:55:41Z","pushed_at":"2018-12-18T07:36:31Z","git_url":"git://github.com/JetBrains/kotlin-native.git","ssh_url":"git@github.com:JetBrains/kotlin-native.git","clone_url":"https://github.com/JetBrains/kotlin-native.git","svn_url":"https://github.com/JetBrains/kotlin-native","homepage":"","size":71772,"stargazers_count":5266,"watchers_count":5266,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":353,"mirror_url":null,"archived":false,"open_issues_count":150,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":353,"open_issues":150,"watchers":5266,"default_branch":"master"}},"base":{"label":"JetBrains:master","ref":"master","sha":"e720844ff623c73e24fc72ed9710bdfdac127553","user":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":58957623,"node_id":"MDEwOlJlcG9zaXRvcnk1ODk1NzYyMw==","name":"kotlin-native","full_name":"JetBrains/kotlin-native","private":false,"owner":{"login":"JetBrains","id":878437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3ODQzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/878437?v=4","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/JetBrains/kotlin-native","description":"Kotlin/Native infrastructure","fork":false,"url":"https://api.github.com/repos/JetBrains/kotlin-native","forks_url":"https://api.github.com/repos/JetBrains/kotlin-native/forks","keys_url":"https://api.github.com/repos/JetBrains/kotlin-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/kotlin-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/kotlin-native/teams","hooks_url":"https://api.github.com/repos/JetBrains/kotlin-native/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/kotlin-native/events","assignees_url":"https://api.github.com/repos/JetBrains/kotlin-native/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/kotlin-native/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/tags","blobs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/kotlin-native/languages","stargazers_url":"https://api.github.com/repos/JetBrains/kotlin-native/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/kotlin-native/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/kotlin-native/subscription","commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/kotlin-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/kotlin-native/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/kotlin-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/kotlin-native/merges","archive_url":"https://api.github.com/repos/JetBrains/kotlin-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/kotlin-native/downloads","issues_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/kotlin-native/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/kotlin-native/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/kotlin-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/kotlin-native/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/kotlin-native/releases{/id}","deployments_url":"https://api.github.com/repos/JetBrains/kotlin-native/deployments","created_at":"2016-05-16T18:40:45Z","updated_at":"2018-12-18T06:55:41Z","pushed_at":"2018-12-18T07:36:31Z","git_url":"git://github.com/JetBrains/kotlin-native.git","ssh_url":"git@github.com:JetBrains/kotlin-native.git","clone_url":"https://github.com/JetBrains/kotlin-native.git","svn_url":"https://github.com/JetBrains/kotlin-native","homepage":"","size":71772,"stargazers_count":5266,"watchers_count":5266,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":353,"mirror_url":null,"archived":false,"open_issues_count":150,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":353,"open_issues":150,"watchers":5266,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471"},"html":{"href":"https://github.com/JetBrains/kotlin-native/pull/2471"},"issue":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2471"},"comments":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2471/comments"},"review_comments":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471/comments"},"review_comment":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/pulls/2471/commits"},"statuses":{"href":"https://api.github.com/repos/JetBrains/kotlin-native/statuses/0e8938ff8e7549c304b47da64a29bed59f1065bc"}},"author_association":"NONE"}}
{"actor":{"display_login":"sbogolepov"}}