{"action":"created","issue":{"url":"https://api.github.com/repos/sumedhghaisas/Manak/issues/6","labels_url":"https://api.github.com/repos/sumedhghaisas/Manak/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sumedhghaisas/Manak/issues/6/comments","events_url":"https://api.github.com/repos/sumedhghaisas/Manak/issues/6/events","html_url":"https://github.com/sumedhghaisas/Manak/issues/6","id":50216647,"number":6,"title":"Naming Sub-benchmark cases","user":{"login":"sumedhghaisas","id":5289793,"avatar_url":"https://avatars.githubusercontent.com/u/5289793?v=3","gravatar_id":"","url":"https://api.github.com/users/sumedhghaisas","html_url":"https://github.com/sumedhghaisas","followers_url":"https://api.github.com/users/sumedhghaisas/followers","following_url":"https://api.github.com/users/sumedhghaisas/following{/other_user}","gists_url":"https://api.github.com/users/sumedhghaisas/gists{/gist_id}","starred_url":"https://api.github.com/users/sumedhghaisas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumedhghaisas/subscriptions","organizations_url":"https://api.github.com/users/sumedhghaisas/orgs","repos_url":"https://api.github.com/users/sumedhghaisas/repos","events_url":"https://api.github.com/users/sumedhghaisas/events{/privacy}","received_events_url":"https://api.github.com/users/sumedhghaisas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sumedhghaisas/Manak/labels/Blocking","name":"Blocking","color":"e11d21"},{"url":"https://api.github.com/repos/sumedhghaisas/Manak/labels/enhancement","name":"enhancement","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"sumedhghaisas","id":5289793,"avatar_url":"https://avatars.githubusercontent.com/u/5289793?v=3","gravatar_id":"","url":"https://api.github.com/users/sumedhghaisas","html_url":"https://github.com/sumedhghaisas","followers_url":"https://api.github.com/users/sumedhghaisas/followers","following_url":"https://api.github.com/users/sumedhghaisas/following{/other_user}","gists_url":"https://api.github.com/users/sumedhghaisas/gists{/gist_id}","starred_url":"https://api.github.com/users/sumedhghaisas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumedhghaisas/subscriptions","organizations_url":"https://api.github.com/users/sumedhghaisas/orgs","repos_url":"https://api.github.com/users/sumedhghaisas/repos","events_url":"https://api.github.com/users/sumedhghaisas/events{/privacy}","received_events_url":"https://api.github.com/users/sumedhghaisas/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sumedhghaisas/Manak/milestones/1","labels_url":"https://api.github.com/repos/sumedhghaisas/Manak/milestones/1/labels","id":870028,"number":1,"title":"1.1.0","description":null,"creator":{"login":"sumedhghaisas","id":5289793,"avatar_url":"https://avatars.githubusercontent.com/u/5289793?v=3","gravatar_id":"","url":"https://api.github.com/users/sumedhghaisas","html_url":"https://github.com/sumedhghaisas","followers_url":"https://api.github.com/users/sumedhghaisas/followers","following_url":"https://api.github.com/users/sumedhghaisas/following{/other_user}","gists_url":"https://api.github.com/users/sumedhghaisas/gists{/gist_id}","starred_url":"https://api.github.com/users/sumedhghaisas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumedhghaisas/subscriptions","organizations_url":"https://api.github.com/users/sumedhghaisas/orgs","repos_url":"https://api.github.com/users/sumedhghaisas/repos","events_url":"https://api.github.com/users/sumedhghaisas/events{/privacy}","received_events_url":"https://api.github.com/users/sumedhghaisas/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":5,"state":"open","created_at":"2014-11-17T19:07:16Z","updated_at":"2015-01-04T17:15:03Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-11-26T19:13:51Z","updated_at":"2015-01-08T11:31:12Z","closed_at":null,"body":"Even though they are sub-benchmark cases sometimes naming them helps for identification while comparing. For example - \r\n\r\n```cpp\r\nint Fun(int a)\r\n{\r\n    for(size_t i = 0;i < a;i++);\r\n}\r\n\r\nMANAK_ADD_BENCHMARK(MANAK_CREATE_BENCHMARK_WITH_TEMPLATE(B1, fun)->AddArgs(100)->AddArgs(1000));\r\n```\r\n\r\nWill generate output -\r\n\r\n```\r\n######################################################################\r\n#  Manak C++ Benchmarking Library                                                                                #\r\n#  Version 0.0.0                                                                                                                 #\r\n#  Created at Nov 27 00:39:43 2014                                                                                 #\r\n######################################################################\r\n\r\n       Case Name              base_library        \r\n\r\nB1\r\n  Parameter Set 0             0.5                 \r\n  Parameter Set 1             2 \r\n```\r\n\r\nIsn't it better to generate a output like - \r\n\r\n```\r\n######################################################################\r\n#  Manak C++ Benchmarking Library                                                                                #\r\n#  Version 0.0.0                                                                                                                 #\r\n#  Created at Nov 27 00:39:43 2014                                                                                 #\r\n######################################################################\r\n\r\n       Case Name              base_library        \r\n\r\nB1\r\n  Testing with 100             0.5                 \r\n  Testing with 1000            2 \r\n```\r\n\r\nI think the current architecture supports adding name for sub-benchmark cases but we need to decide the correct API to proceed."},"comment":{"url":"https://api.github.com/repos/sumedhghaisas/Manak/issues/comments/69167822","html_url":"https://github.com/sumedhghaisas/Manak/issues/6#issuecomment-69167822","issue_url":"https://api.github.com/repos/sumedhghaisas/Manak/issues/6","id":69167822,"user":{"login":"sumedhghaisas","id":5289793,"avatar_url":"https://avatars.githubusercontent.com/u/5289793?v=3","gravatar_id":"","url":"https://api.github.com/users/sumedhghaisas","html_url":"https://github.com/sumedhghaisas","followers_url":"https://api.github.com/users/sumedhghaisas/followers","following_url":"https://api.github.com/users/sumedhghaisas/following{/other_user}","gists_url":"https://api.github.com/users/sumedhghaisas/gists{/gist_id}","starred_url":"https://api.github.com/users/sumedhghaisas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumedhghaisas/subscriptions","organizations_url":"https://api.github.com/users/sumedhghaisas/orgs","repos_url":"https://api.github.com/users/sumedhghaisas/repos","events_url":"https://api.github.com/users/sumedhghaisas/events{/privacy}","received_events_url":"https://api.github.com/users/sumedhghaisas/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T11:31:12Z","updated_at":"2015-01-08T11:31:12Z","body":"The latest commits solves this issue for both parametrized benchmarks and multiple repeat blocks."}}