{"action":"created","issue":{"url":"https://api.github.com/repos/aurbroszniowski/Rainfall-core/issues/16","labels_url":"https://api.github.com/repos/aurbroszniowski/Rainfall-core/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/aurbroszniowski/Rainfall-core/issues/16/comments","events_url":"https://api.github.com/repos/aurbroszniowski/Rainfall-core/issues/16/events","html_url":"https://github.com/aurbroszniowski/Rainfall-core/issues/16","id":51273341,"number":16,"title":"Investigate measure pattern in stats","user":{"login":"aurbroszniowski","id":1264251,"avatar_url":"https://avatars.githubusercontent.com/u/1264251?v=3","gravatar_id":"","url":"https://api.github.com/users/aurbroszniowski","html_url":"https://github.com/aurbroszniowski","followers_url":"https://api.github.com/users/aurbroszniowski/followers","following_url":"https://api.github.com/users/aurbroszniowski/following{/other_user}","gists_url":"https://api.github.com/users/aurbroszniowski/gists{/gist_id}","starred_url":"https://api.github.com/users/aurbroszniowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurbroszniowski/subscriptions","organizations_url":"https://api.github.com/users/aurbroszniowski/orgs","repos_url":"https://api.github.com/users/aurbroszniowski/repos","events_url":"https://api.github.com/users/aurbroszniowski/events{/privacy}","received_events_url":"https://api.github.com/users/aurbroszniowski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-08T09:33:48Z","updated_at":"2015-01-03T23:41:27Z","closed_at":"2015-01-03T23:41:27Z","body":"stats are measured like this:\r\n\r\n statisticsHolder.measure(cache.getName(), new Task() {\r\n\r\nit requires the instantiation of a Task class just to have better readability, maybe there is a way not to have to instantiate the object on every call and still have something readable"},"comment":{"url":"https://api.github.com/repos/aurbroszniowski/Rainfall-core/issues/comments/68614252","html_url":"https://github.com/aurbroszniowski/Rainfall-core/issues/16#issuecomment-68614252","issue_url":"https://api.github.com/repos/aurbroszniowski/Rainfall-core/issues/16","id":68614252,"user":{"login":"aurbroszniowski","id":1264251,"avatar_url":"https://avatars.githubusercontent.com/u/1264251?v=3","gravatar_id":"","url":"https://api.github.com/users/aurbroszniowski","html_url":"https://github.com/aurbroszniowski","followers_url":"https://api.github.com/users/aurbroszniowski/followers","following_url":"https://api.github.com/users/aurbroszniowski/following{/other_user}","gists_url":"https://api.github.com/users/aurbroszniowski/gists{/gist_id}","starred_url":"https://api.github.com/users/aurbroszniowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurbroszniowski/subscriptions","organizations_url":"https://api.github.com/users/aurbroszniowski/orgs","repos_url":"https://api.github.com/users/aurbroszniowski/repos","events_url":"https://api.github.com/users/aurbroszniowski/events{/privacy}","received_events_url":"https://api.github.com/users/aurbroszniowski/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T23:41:27Z","updated_at":"2015-01-03T23:41:27Z","body":"Performance of the framework improves by more than 30%\r\nsee the differences of TPS before and after the related changes:\r\n\r\nPure function (no re-instantiation needed)\r\nALL             PUT               20,467,344    114,340      0.009\r\nALL             GET              183,750,373  1,026,536      0.002\r\nALL             MISS                 264,702      1,477      0.001\r\nALL             REMOVE                     0          0          �\r\nALL             EXCEPTION                  0          0          �\r\nALL             TOTAL            204,482,419  1,142,353      0.002\r\n\r\n\r\nAnonymous class syntax (instantiation of the function for every call)\r\nALL             PUT               20,501,018     82,999      0.018\r\nALL             GET              184,402,281    746,566      0.002\r\nALL             MISS                      81          0      0.031\r\nALL             REMOVE                     0          0          �\r\nALL             EXCEPTION                  0          0          �\r\nALL             TOTAL            204,903,380    829,565       0.01\r\n\r\n"}}