{"action":"created","comment":{"url":"https://api.github.com/repos/rchain/rchain/pulls/comments/202833177","pull_request_review_id":137577825,"id":202833177,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjgzMzE3Nw==","diff_hunk":"@@ -0,0 +1,119 @@\n+package coop.rchain.rspace.bench\n+\n+import java.io.{FileNotFoundException, InputStreamReader}\n+import java.nio.file.{Files, Path}\n+\n+import cats.implicits._\n+import coop.rchain.crypto.hash.Blake2b512Random\n+import coop.rchain.models.Par\n+import coop.rchain.rholang.interpreter.{Env, Interpreter, Runtime}\n+import org.openjdk.jmh.annotations._\n+import coop.rchain.shared.PathOps.RichPath\n+import monix.eval.Task\n+import monix.execution.{ExecutionModel, Scheduler}\n+import monix.execution.schedulers.{CanBlock, TrampolineScheduler}\n+\n+import scala.concurrent.Await\n+import scala.concurrent.duration.Duration\n+\n+//for debug/check run from IDEA with\n+//rspaceBench/jmh:run EvalBench.replayMvcEppST -i 1 -wi 0 -f 0 -t 1\n+//on hyper-threaded machines for standalone check use -f <number of physical cores>\n+//for example\n+//java -jar target/scala-2.12/rspacebench_2.12-0.1.0-SNAPSHOT.jar EvalBench -i 10 -wi 5 -f 2 -t 2\n+class EvalBench {\n+  import EvalBench._\n+\n+  def processErrors(errors: Vector[Throwable]): Unit = if (errors.nonEmpty) {\n+    throw new RuntimeException(\n+      errors\n+        .map(_.toString())\n+        .mkString(\"Errors received during evaluation:\\n\", \"\\n\", \"\\n\"))\n+  }\n+\n+  def prepareRunTask(state: MvcEppBenchState): Task[Vector[Throwable]] = {","path":"rspace-bench/src/main/scala/coop/rchain/rspace/bench/EvalBench.scala","position":34,"original_position":34,"commit_id":"3c905f96797fa596ec78fe738a174b72a8ded83f","original_commit_id":"3c905f96797fa596ec78fe738a174b72a8ded83f","user":{"login":"henrytill","id":6430643,"node_id":"MDQ6VXNlcjY0MzA2NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/6430643?v=4","gravatar_id":"","url":"https://api.github.com/users/henrytill","html_url":"https://github.com/henrytill","followers_url":"https://api.github.com/users/henrytill/followers","following_url":"https://api.github.com/users/henrytill/following{/other_user}","gists_url":"https://api.github.com/users/henrytill/gists{/gist_id}","starred_url":"https://api.github.com/users/henrytill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrytill/subscriptions","organizations_url":"https://api.github.com/users/henrytill/orgs","repos_url":"https://api.github.com/users/henrytill/repos","events_url":"https://api.github.com/users/henrytill/events{/privacy}","received_events_url":"https://api.github.com/users/henrytill/received_events","type":"User","site_admin":false},"body":"maybe `createTest`?","created_at":"2018-07-16T21:39:28Z","updated_at":"2018-07-16T21:40:41Z","html_url":"https://github.com/rchain/rchain/pull/1132#discussion_r202833177","pull_request_url":"https://api.github.com/repos/rchain/rchain/pulls/1132","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments/202833177"},"html":{"href":"https://github.com/rchain/rchain/pull/1132#discussion_r202833177"},"pull_request":{"href":"https://api.github.com/repos/rchain/rchain/pulls/1132"}}},"pull_request":{"url":"https://api.github.com/repos/rchain/rchain/pulls/1132","id":201726895,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNzI2ODk1","html_url":"https://github.com/rchain/rchain/pull/1132","diff_url":"https://github.com/rchain/rchain/pull/1132.diff","patch_url":"https://github.com/rchain/rchain/pull/1132.patch","issue_url":"https://api.github.com/repos/rchain/rchain/issues/1132","number":1132,"state":"open","locked":false,"title":"CORE-761 Benchmark MVCEPP","user":{"login":"ys-pyrofex","id":34450115,"node_id":"MDQ6VXNlcjM0NDUwMTE1","avatar_url":"https://avatars2.githubusercontent.com/u/34450115?v=4","gravatar_id":"","url":"https://api.github.com/users/ys-pyrofex","html_url":"https://github.com/ys-pyrofex","followers_url":"https://api.github.com/users/ys-pyrofex/followers","following_url":"https://api.github.com/users/ys-pyrofex/following{/other_user}","gists_url":"https://api.github.com/users/ys-pyrofex/gists{/gist_id}","starred_url":"https://api.github.com/users/ys-pyrofex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ys-pyrofex/subscriptions","organizations_url":"https://api.github.com/users/ys-pyrofex/orgs","repos_url":"https://api.github.com/users/ys-pyrofex/repos","events_url":"https://api.github.com/users/ys-pyrofex/events{/privacy}","received_events_url":"https://api.github.com/users/ys-pyrofex/received_events","type":"User","site_admin":false},"body":"## Overview\r\nThis benchmark allows checking execution performance of any .rho program. The program shouldn't contain infinite loops.\r\n\r\n### Which JIRA issue does this PR relate to? If there is not a JIRA issue addressing this work, please create https://rchain.atlassian.net/browse/CORE-761\r\n","created_at":"2018-07-16T18:51:07Z","updated_at":"2018-07-16T21:40:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11f3723e1f7b170627592f186700b3291a43f82b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rchain/rchain/pulls/1132/commits","review_comments_url":"https://api.github.com/repos/rchain/rchain/pulls/1132/comments","review_comment_url":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rchain/rchain/issues/1132/comments","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/3c905f96797fa596ec78fe738a174b72a8ded83f","head":{"label":"ys-pyrofex:CORE-761","ref":"CORE-761","sha":"3c905f96797fa596ec78fe738a174b72a8ded83f","user":{"login":"ys-pyrofex","id":34450115,"node_id":"MDQ6VXNlcjM0NDUwMTE1","avatar_url":"https://avatars2.githubusercontent.com/u/34450115?v=4","gravatar_id":"","url":"https://api.github.com/users/ys-pyrofex","html_url":"https://github.com/ys-pyrofex","followers_url":"https://api.github.com/users/ys-pyrofex/followers","following_url":"https://api.github.com/users/ys-pyrofex/following{/other_user}","gists_url":"https://api.github.com/users/ys-pyrofex/gists{/gist_id}","starred_url":"https://api.github.com/users/ys-pyrofex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ys-pyrofex/subscriptions","organizations_url":"https://api.github.com/users/ys-pyrofex/orgs","repos_url":"https://api.github.com/users/ys-pyrofex/repos","events_url":"https://api.github.com/users/ys-pyrofex/events{/privacy}","received_events_url":"https://api.github.com/users/ys-pyrofex/received_events","type":"User","site_admin":false},"repo":{"id":116134750,"node_id":"MDEwOlJlcG9zaXRvcnkxMTYxMzQ3NTA=","name":"rchain","full_name":"ys-pyrofex/rchain","owner":{"login":"ys-pyrofex","id":34450115,"node_id":"MDQ6VXNlcjM0NDUwMTE1","avatar_url":"https://avatars2.githubusercontent.com/u/34450115?v=4","gravatar_id":"","url":"https://api.github.com/users/ys-pyrofex","html_url":"https://github.com/ys-pyrofex","followers_url":"https://api.github.com/users/ys-pyrofex/followers","following_url":"https://api.github.com/users/ys-pyrofex/following{/other_user}","gists_url":"https://api.github.com/users/ys-pyrofex/gists{/gist_id}","starred_url":"https://api.github.com/users/ys-pyrofex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ys-pyrofex/subscriptions","organizations_url":"https://api.github.com/users/ys-pyrofex/orgs","repos_url":"https://api.github.com/users/ys-pyrofex/repos","events_url":"https://api.github.com/users/ys-pyrofex/events{/privacy}","received_events_url":"https://api.github.com/users/ys-pyrofex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ys-pyrofex/rchain","description":null,"fork":true,"url":"https://api.github.com/repos/ys-pyrofex/rchain","forks_url":"https://api.github.com/repos/ys-pyrofex/rchain/forks","keys_url":"https://api.github.com/repos/ys-pyrofex/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ys-pyrofex/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ys-pyrofex/rchain/teams","hooks_url":"https://api.github.com/repos/ys-pyrofex/rchain/hooks","issue_events_url":"https://api.github.com/repos/ys-pyrofex/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/ys-pyrofex/rchain/events","assignees_url":"https://api.github.com/repos/ys-pyrofex/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/ys-pyrofex/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/ys-pyrofex/rchain/tags","blobs_url":"https://api.github.com/repos/ys-pyrofex/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ys-pyrofex/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ys-pyrofex/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/ys-pyrofex/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ys-pyrofex/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/ys-pyrofex/rchain/languages","stargazers_url":"https://api.github.com/repos/ys-pyrofex/rchain/stargazers","contributors_url":"https://api.github.com/repos/ys-pyrofex/rchain/contributors","subscribers_url":"https://api.github.com/repos/ys-pyrofex/rchain/subscribers","subscription_url":"https://api.github.com/repos/ys-pyrofex/rchain/subscription","commits_url":"https://api.github.com/repos/ys-pyrofex/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/ys-pyrofex/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/ys-pyrofex/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/ys-pyrofex/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/ys-pyrofex/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/ys-pyrofex/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ys-pyrofex/rchain/merges","archive_url":"https://api.github.com/repos/ys-pyrofex/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ys-pyrofex/rchain/downloads","issues_url":"https://api.github.com/repos/ys-pyrofex/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/ys-pyrofex/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/ys-pyrofex/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/ys-pyrofex/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ys-pyrofex/rchain/labels{/name}","releases_url":"https://api.github.com/repos/ys-pyrofex/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/ys-pyrofex/rchain/deployments","created_at":"2018-01-03T12:31:46Z","updated_at":"2018-06-22T12:49:39Z","pushed_at":"2018-07-16T18:51:25Z","git_url":"git://github.com/ys-pyrofex/rchain.git","ssh_url":"git@github.com:ys-pyrofex/rchain.git","clone_url":"https://github.com/ys-pyrofex/rchain.git","svn_url":"https://github.com/ys-pyrofex/rchain","homepage":null,"size":12985,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"dev"}},"base":{"label":"rchain:dev","ref":"dev","sha":"2bd816b28c757a86cf12f403570360db682efedb","user":{"login":"rchain","id":20671765,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjcxNzY1","avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"repo":{"id":84493691,"node_id":"MDEwOlJlcG9zaXRvcnk4NDQ5MzY5MQ==","name":"rchain","full_name":"rchain/rchain","owner":{"login":"rchain","id":20671765,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjcxNzY1","avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rchain/rchain","description":null,"fork":false,"url":"https://api.github.com/repos/rchain/rchain","forks_url":"https://api.github.com/repos/rchain/rchain/forks","keys_url":"https://api.github.com/repos/rchain/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rchain/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rchain/rchain/teams","hooks_url":"https://api.github.com/repos/rchain/rchain/hooks","issue_events_url":"https://api.github.com/repos/rchain/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/rchain/rchain/events","assignees_url":"https://api.github.com/repos/rchain/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/rchain/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/rchain/rchain/tags","blobs_url":"https://api.github.com/repos/rchain/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rchain/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rchain/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/rchain/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/rchain/rchain/languages","stargazers_url":"https://api.github.com/repos/rchain/rchain/stargazers","contributors_url":"https://api.github.com/repos/rchain/rchain/contributors","subscribers_url":"https://api.github.com/repos/rchain/rchain/subscribers","subscription_url":"https://api.github.com/repos/rchain/rchain/subscription","commits_url":"https://api.github.com/repos/rchain/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/rchain/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/rchain/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/rchain/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/rchain/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/rchain/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rchain/rchain/merges","archive_url":"https://api.github.com/repos/rchain/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rchain/rchain/downloads","issues_url":"https://api.github.com/repos/rchain/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/rchain/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/rchain/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/rchain/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rchain/rchain/labels{/name}","releases_url":"https://api.github.com/repos/rchain/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/rchain/rchain/deployments","created_at":"2017-03-09T22:15:35Z","updated_at":"2018-07-16T04:19:49Z","pushed_at":"2018-07-16T19:09:12Z","git_url":"git://github.com/rchain/rchain.git","ssh_url":"git@github.com:rchain/rchain.git","clone_url":"https://github.com/rchain/rchain.git","svn_url":"https://github.com/rchain/rchain","homepage":null,"size":12914,"stargazers_count":371,"watchers_count":371,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":106,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":106,"open_issues":6,"watchers":371,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/1132"},"html":{"href":"https://github.com/rchain/rchain/pull/1132"},"issue":{"href":"https://api.github.com/repos/rchain/rchain/issues/1132"},"comments":{"href":"https://api.github.com/repos/rchain/rchain/issues/1132/comments"},"review_comments":{"href":"https://api.github.com/repos/rchain/rchain/pulls/1132/comments"},"review_comment":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rchain/rchain/pulls/1132/commits"},"statuses":{"href":"https://api.github.com/repos/rchain/rchain/statuses/3c905f96797fa596ec78fe738a174b72a8ded83f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"henrytill"}}