{"action":"created","issue":{"url":"https://api.github.com/repos/muatik/flask-profiler/issues/16","labels_url":"https://api.github.com/repos/muatik/flask-profiler/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/muatik/flask-profiler/issues/16/comments","events_url":"https://api.github.com/repos/muatik/flask-profiler/issues/16/events","html_url":"https://github.com/muatik/flask-profiler/issues/16","id":114900784,"number":16,"title":"besides mean average, mode metric should also be available","user":{"login":"muatik","id":106846,"avatar_url":"https://avatars.githubusercontent.com/u/106846?v=3","gravatar_id":"","url":"https://api.github.com/users/muatik","html_url":"https://github.com/muatik","followers_url":"https://api.github.com/users/muatik/followers","following_url":"https://api.github.com/users/muatik/following{/other_user}","gists_url":"https://api.github.com/users/muatik/gists{/gist_id}","starred_url":"https://api.github.com/users/muatik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muatik/subscriptions","organizations_url":"https://api.github.com/users/muatik/orgs","repos_url":"https://api.github.com/users/muatik/repos","events_url":"https://api.github.com/users/muatik/events{/privacy}","received_events_url":"https://api.github.com/users/muatik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-03T20:19:54Z","updated_at":"2015-12-07T19:39:10Z","closed_at":null,"body":"sometimes a few outliner elapsed values can dramatically change average value and this may lead to wrong evaluation. to decrease this side effect, mode calculation should be available."},"comment":{"url":"https://api.github.com/repos/muatik/flask-profiler/issues/comments/162636130","html_url":"https://github.com/muatik/flask-profiler/issues/16#issuecomment-162636130","issue_url":"https://api.github.com/repos/muatik/flask-profiler/issues/16","id":162636130,"user":{"login":"muatik","id":106846,"avatar_url":"https://avatars.githubusercontent.com/u/106846?v=3","gravatar_id":"","url":"https://api.github.com/users/muatik","html_url":"https://github.com/muatik","followers_url":"https://api.github.com/users/muatik/followers","following_url":"https://api.github.com/users/muatik/following{/other_user}","gists_url":"https://api.github.com/users/muatik/gists{/gist_id}","starred_url":"https://api.github.com/users/muatik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muatik/subscriptions","organizations_url":"https://api.github.com/users/muatik/orgs","repos_url":"https://api.github.com/users/muatik/repos","events_url":"https://api.github.com/users/muatik/events{/privacy}","received_events_url":"https://api.github.com/users/muatik/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T19:39:10Z","updated_at":"2015-12-07T19:39:10Z","body":"Looking at request times within a few projects, it looks like 6 decimal places would be sufficient. \r\n\r\nBut I am not convinced yet that mode calculation will be useful. On the other hand, I am also thinking of calculating standard  deviation to devise a better way for elimination of outliners. For this;\r\n1.step: calculate standard deviation\r\n2.step: ignore numbers which are out of standard deviation\r\n3.step: calculate mean of request times which are in standard deviation.\r\n\r\n"}}