{"action":"created","comment":{"url":"https://api.github.com/repos/scalameter/scalameter/pulls/comments/37210698","id":37210698,"diff_hunk":"@@ -19,6 +19,18 @@ package object scalameter extends MeasureBuilder[Unit, Double](\n   MeasureBuilder.average\n ) {\n \n+  implicit def inline[T: Ordering](measurer: Measurer[T]): MeasureBuilder[Unit, T] = {","path":"scalameter-core/src/main/scala/org/scalameter/package.scala","position":21,"original_position":21,"commit_id":"9439d062847d016627d27e7215ade518f4d8656c","original_commit_id":"77232f1c5c4a3f04fbc9151d138e8ebd1ff0cba5","user":{"login":"axel22","id":151774,"avatar_url":"https://avatars.githubusercontent.com/u/151774?v=3","gravatar_id":"","url":"https://api.github.com/users/axel22","html_url":"https://github.com/axel22","followers_url":"https://api.github.com/users/axel22/followers","following_url":"https://api.github.com/users/axel22/following{/other_user}","gists_url":"https://api.github.com/users/axel22/gists{/gist_id}","starred_url":"https://api.github.com/users/axel22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel22/subscriptions","organizations_url":"https://api.github.com/users/axel22/orgs","repos_url":"https://api.github.com/users/axel22/repos","events_url":"https://api.github.com/users/axel22/events{/privacy}","received_events_url":"https://api.github.com/users/axel22/received_events","type":"User","site_admin":false},"body":"It seems to me that we should add an overloaded 2-argument `withMeasurer` method that takes:\r\n- a measurer of a different type\r\n- an aggregator/`resultFunction` of that same type\r\n\r\n    def withMeasurer[U](m: Measurer[U], f: Seq[Quantity[U]] => Quantity[U]): MeasureBuilder[Unit, U]\r\n\r\nThis method should live on the `MeasureBuilder` class.","created_at":"2015-08-17T17:07:40Z","updated_at":"2015-08-17T17:07:40Z","html_url":"https://github.com/scalameter/scalameter/pull/151#discussion_r37210698","pull_request_url":"https://api.github.com/repos/scalameter/scalameter/pulls/151","_links":{"self":{"href":"https://api.github.com/repos/scalameter/scalameter/pulls/comments/37210698"},"html":{"href":"https://github.com/scalameter/scalameter/pull/151#discussion_r37210698"},"pull_request":{"href":"https://api.github.com/repos/scalameter/scalameter/pulls/151"}}},"pull_request":{"url":"https://api.github.com/repos/scalameter/scalameter/pulls/151","id":42522262,"html_url":"https://github.com/scalameter/scalameter/pull/151","diff_url":"https://github.com/scalameter/scalameter/pull/151.diff","patch_url":"https://github.com/scalameter/scalameter/pull/151.patch","issue_url":"https://api.github.com/repos/scalameter/scalameter/issues/151","number":151,"state":"open","locked":false,"title":"Make Measurer generic","user":{"login":"kjanosz","id":1921482,"avatar_url":"https://avatars.githubusercontent.com/u/1921482?v=3","gravatar_id":"","url":"https://api.github.com/users/kjanosz","html_url":"https://github.com/kjanosz","followers_url":"https://api.github.com/users/kjanosz/followers","following_url":"https://api.github.com/users/kjanosz/following{/other_user}","gists_url":"https://api.github.com/users/kjanosz/gists{/gist_id}","starred_url":"https://api.github.com/users/kjanosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjanosz/subscriptions","organizations_url":"https://api.github.com/users/kjanosz/orgs","repos_url":"https://api.github.com/users/kjanosz/repos","events_url":"https://api.github.com/users/kjanosz/events{/privacy}","received_events_url":"https://api.github.com/users/kjanosz/received_events","type":"User","site_admin":false},"body":"Make Measurer generic.\r\nRefactor code.\r\nAdd Pickler based serialization for the measurements.","created_at":"2015-08-15T17:01:24Z","updated_at":"2015-08-17T17:07:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4289579782f5a37818b3c5898052376d3ea9653","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scalameter/scalameter/pulls/151/commits","review_comments_url":"https://api.github.com/repos/scalameter/scalameter/pulls/151/comments","review_comment_url":"https://api.github.com/repos/scalameter/scalameter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scalameter/scalameter/issues/151/comments","statuses_url":"https://api.github.com/repos/scalameter/scalameter/statuses/9439d062847d016627d27e7215ade518f4d8656c","head":{"label":"kjanosz:measurer-reorganization","ref":"measurer-reorganization","sha":"9439d062847d016627d27e7215ade518f4d8656c","user":{"login":"kjanosz","id":1921482,"avatar_url":"https://avatars.githubusercontent.com/u/1921482?v=3","gravatar_id":"","url":"https://api.github.com/users/kjanosz","html_url":"https://github.com/kjanosz","followers_url":"https://api.github.com/users/kjanosz/followers","following_url":"https://api.github.com/users/kjanosz/following{/other_user}","gists_url":"https://api.github.com/users/kjanosz/gists{/gist_id}","starred_url":"https://api.github.com/users/kjanosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjanosz/subscriptions","organizations_url":"https://api.github.com/users/kjanosz/orgs","repos_url":"https://api.github.com/users/kjanosz/repos","events_url":"https://api.github.com/users/kjanosz/events{/privacy}","received_events_url":"https://api.github.com/users/kjanosz/received_events","type":"User","site_admin":false},"repo":{"id":35629278,"name":"scalameter","full_name":"kjanosz/scalameter","owner":{"login":"kjanosz","id":1921482,"avatar_url":"https://avatars.githubusercontent.com/u/1921482?v=3","gravatar_id":"","url":"https://api.github.com/users/kjanosz","html_url":"https://github.com/kjanosz","followers_url":"https://api.github.com/users/kjanosz/followers","following_url":"https://api.github.com/users/kjanosz/following{/other_user}","gists_url":"https://api.github.com/users/kjanosz/gists{/gist_id}","starred_url":"https://api.github.com/users/kjanosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjanosz/subscriptions","organizations_url":"https://api.github.com/users/kjanosz/orgs","repos_url":"https://api.github.com/users/kjanosz/repos","events_url":"https://api.github.com/users/kjanosz/events{/privacy}","received_events_url":"https://api.github.com/users/kjanosz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kjanosz/scalameter","description":"Microbenchmarking and performance regression testing framework for the JVM platform.","fork":true,"url":"https://api.github.com/repos/kjanosz/scalameter","forks_url":"https://api.github.com/repos/kjanosz/scalameter/forks","keys_url":"https://api.github.com/repos/kjanosz/scalameter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kjanosz/scalameter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kjanosz/scalameter/teams","hooks_url":"https://api.github.com/repos/kjanosz/scalameter/hooks","issue_events_url":"https://api.github.com/repos/kjanosz/scalameter/issues/events{/number}","events_url":"https://api.github.com/repos/kjanosz/scalameter/events","assignees_url":"https://api.github.com/repos/kjanosz/scalameter/assignees{/user}","branches_url":"https://api.github.com/repos/kjanosz/scalameter/branches{/branch}","tags_url":"https://api.github.com/repos/kjanosz/scalameter/tags","blobs_url":"https://api.github.com/repos/kjanosz/scalameter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kjanosz/scalameter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kjanosz/scalameter/git/refs{/sha}","trees_url":"https://api.github.com/repos/kjanosz/scalameter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kjanosz/scalameter/statuses/{sha}","languages_url":"https://api.github.com/repos/kjanosz/scalameter/languages","stargazers_url":"https://api.github.com/repos/kjanosz/scalameter/stargazers","contributors_url":"https://api.github.com/repos/kjanosz/scalameter/contributors","subscribers_url":"https://api.github.com/repos/kjanosz/scalameter/subscribers","subscription_url":"https://api.github.com/repos/kjanosz/scalameter/subscription","commits_url":"https://api.github.com/repos/kjanosz/scalameter/commits{/sha}","git_commits_url":"https://api.github.com/repos/kjanosz/scalameter/git/commits{/sha}","comments_url":"https://api.github.com/repos/kjanosz/scalameter/comments{/number}","issue_comment_url":"https://api.github.com/repos/kjanosz/scalameter/issues/comments{/number}","contents_url":"https://api.github.com/repos/kjanosz/scalameter/contents/{+path}","compare_url":"https://api.github.com/repos/kjanosz/scalameter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kjanosz/scalameter/merges","archive_url":"https://api.github.com/repos/kjanosz/scalameter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kjanosz/scalameter/downloads","issues_url":"https://api.github.com/repos/kjanosz/scalameter/issues{/number}","pulls_url":"https://api.github.com/repos/kjanosz/scalameter/pulls{/number}","milestones_url":"https://api.github.com/repos/kjanosz/scalameter/milestones{/number}","notifications_url":"https://api.github.com/repos/kjanosz/scalameter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kjanosz/scalameter/labels{/name}","releases_url":"https://api.github.com/repos/kjanosz/scalameter/releases{/id}","created_at":"2015-05-14T18:35:41Z","updated_at":"2015-05-14T18:35:41Z","pushed_at":"2015-08-17T16:19:46Z","git_url":"git://github.com/kjanosz/scalameter.git","ssh_url":"git@github.com:kjanosz/scalameter.git","clone_url":"https://github.com/kjanosz/scalameter.git","svn_url":"https://github.com/kjanosz/scalameter","homepage":"http://scalameter.github.io","size":16851,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scalameter:master","ref":"master","sha":"b53ee17abefa0d86f490e6da7f3a12ad71f79577","user":{"login":"scalameter","id":6672795,"avatar_url":"https://avatars.githubusercontent.com/u/6672795?v=3","gravatar_id":"","url":"https://api.github.com/users/scalameter","html_url":"https://github.com/scalameter","followers_url":"https://api.github.com/users/scalameter/followers","following_url":"https://api.github.com/users/scalameter/following{/other_user}","gists_url":"https://api.github.com/users/scalameter/gists{/gist_id}","starred_url":"https://api.github.com/users/scalameter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalameter/subscriptions","organizations_url":"https://api.github.com/users/scalameter/orgs","repos_url":"https://api.github.com/users/scalameter/repos","events_url":"https://api.github.com/users/scalameter/events{/privacy}","received_events_url":"https://api.github.com/users/scalameter/received_events","type":"Organization","site_admin":false},"repo":{"id":6751208,"name":"scalameter","full_name":"scalameter/scalameter","owner":{"login":"scalameter","id":6672795,"avatar_url":"https://avatars.githubusercontent.com/u/6672795?v=3","gravatar_id":"","url":"https://api.github.com/users/scalameter","html_url":"https://github.com/scalameter","followers_url":"https://api.github.com/users/scalameter/followers","following_url":"https://api.github.com/users/scalameter/following{/other_user}","gists_url":"https://api.github.com/users/scalameter/gists{/gist_id}","starred_url":"https://api.github.com/users/scalameter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalameter/subscriptions","organizations_url":"https://api.github.com/users/scalameter/orgs","repos_url":"https://api.github.com/users/scalameter/repos","events_url":"https://api.github.com/users/scalameter/events{/privacy}","received_events_url":"https://api.github.com/users/scalameter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scalameter/scalameter","description":"Microbenchmarking and performance regression testing framework for the JVM platform.","fork":false,"url":"https://api.github.com/repos/scalameter/scalameter","forks_url":"https://api.github.com/repos/scalameter/scalameter/forks","keys_url":"https://api.github.com/repos/scalameter/scalameter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scalameter/scalameter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scalameter/scalameter/teams","hooks_url":"https://api.github.com/repos/scalameter/scalameter/hooks","issue_events_url":"https://api.github.com/repos/scalameter/scalameter/issues/events{/number}","events_url":"https://api.github.com/repos/scalameter/scalameter/events","assignees_url":"https://api.github.com/repos/scalameter/scalameter/assignees{/user}","branches_url":"https://api.github.com/repos/scalameter/scalameter/branches{/branch}","tags_url":"https://api.github.com/repos/scalameter/scalameter/tags","blobs_url":"https://api.github.com/repos/scalameter/scalameter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scalameter/scalameter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scalameter/scalameter/git/refs{/sha}","trees_url":"https://api.github.com/repos/scalameter/scalameter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scalameter/scalameter/statuses/{sha}","languages_url":"https://api.github.com/repos/scalameter/scalameter/languages","stargazers_url":"https://api.github.com/repos/scalameter/scalameter/stargazers","contributors_url":"https://api.github.com/repos/scalameter/scalameter/contributors","subscribers_url":"https://api.github.com/repos/scalameter/scalameter/subscribers","subscription_url":"https://api.github.com/repos/scalameter/scalameter/subscription","commits_url":"https://api.github.com/repos/scalameter/scalameter/commits{/sha}","git_commits_url":"https://api.github.com/repos/scalameter/scalameter/git/commits{/sha}","comments_url":"https://api.github.com/repos/scalameter/scalameter/comments{/number}","issue_comment_url":"https://api.github.com/repos/scalameter/scalameter/issues/comments{/number}","contents_url":"https://api.github.com/repos/scalameter/scalameter/contents/{+path}","compare_url":"https://api.github.com/repos/scalameter/scalameter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scalameter/scalameter/merges","archive_url":"https://api.github.com/repos/scalameter/scalameter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scalameter/scalameter/downloads","issues_url":"https://api.github.com/repos/scalameter/scalameter/issues{/number}","pulls_url":"https://api.github.com/repos/scalameter/scalameter/pulls{/number}","milestones_url":"https://api.github.com/repos/scalameter/scalameter/milestones{/number}","notifications_url":"https://api.github.com/repos/scalameter/scalameter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scalameter/scalameter/labels{/name}","releases_url":"https://api.github.com/repos/scalameter/scalameter/releases{/id}","created_at":"2012-11-18T20:56:32Z","updated_at":"2015-08-14T13:05:29Z","pushed_at":"2015-08-17T16:19:46Z","git_url":"git://github.com/scalameter/scalameter.git","ssh_url":"git@github.com:scalameter/scalameter.git","clone_url":"https://github.com/scalameter/scalameter.git","svn_url":"https://github.com/scalameter/scalameter","homepage":"http://scalameter.github.io","size":17739,"stargazers_count":192,"watchers_count":192,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":25,"forks":32,"open_issues":25,"watchers":192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scalameter/scalameter/pulls/151"},"html":{"href":"https://github.com/scalameter/scalameter/pull/151"},"issue":{"href":"https://api.github.com/repos/scalameter/scalameter/issues/151"},"comments":{"href":"https://api.github.com/repos/scalameter/scalameter/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/scalameter/scalameter/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/scalameter/scalameter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scalameter/scalameter/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/scalameter/scalameter/statuses/9439d062847d016627d27e7215ade518f4d8656c"}}}}