{"action":"created","issue":{"url":"https://api.github.com/repos/hanami/router/issues/105","repository_url":"https://api.github.com/repos/hanami/router","labels_url":"https://api.github.com/repos/hanami/router/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/hanami/router/issues/105/comments","events_url":"https://api.github.com/repos/hanami/router/issues/105/events","html_url":"https://github.com/hanami/router/pull/105","id":151826900,"number":105,"title":"Use Oj to parse JSON request body","user":{"login":"Erol","id":20772,"avatar_url":"https://avatars.githubusercontent.com/u/20772?v=3","gravatar_id":"","url":"https://api.github.com/users/Erol","html_url":"https://github.com/Erol","followers_url":"https://api.github.com/users/Erol/followers","following_url":"https://api.github.com/users/Erol/following{/other_user}","gists_url":"https://api.github.com/users/Erol/gists{/gist_id}","starred_url":"https://api.github.com/users/Erol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erol/subscriptions","organizations_url":"https://api.github.com/users/Erol/orgs","repos_url":"https://api.github.com/users/Erol/repos","events_url":"https://api.github.com/users/Erol/events{/privacy}","received_events_url":"https://api.github.com/users/Erol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-29T09:30:28Z","updated_at":"2016-04-29T09:34:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hanami/router/pulls/105","html_url":"https://github.com/hanami/router/pull/105","diff_url":"https://github.com/hanami/router/pull/105.diff","patch_url":"https://github.com/hanami/router/pull/105.patch"},"body":"What do you guys say to using [Oj](https://github.com/ohler55/oj) for parsing JSON requests?\r\n\r\nHere's the result of `benchmarks/json` on my machine. Ruby's JSON parser is 1.74x slower than Oj.\r\n\r\n```\r\nCalculating -------------------------------------\r\n                json   981.000  i/100ms\r\n                  oj     1.734k i/100ms\r\n-------------------------------------------------\r\n                json     10.016k (± 3.5%) i/s -     50.031k\r\n                  oj     17.393k (± 9.1%) i/s -     86.700k\r\n\r\nComparison:\r\n                  oj:    17392.7 i/s\r\n                json:    10016.2 i/s - 1.74x slower\r\n```"},"comment":{"url":"https://api.github.com/repos/hanami/router/issues/comments/215669157","html_url":"https://github.com/hanami/router/pull/105#issuecomment-215669157","issue_url":"https://api.github.com/repos/hanami/router/issues/105","id":215669157,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T09:34:02Z","updated_at":"2016-04-29T09:34:02Z","body":"\n[![Coverage Status](https://coveralls.io/builds/5983680/badge)](https://coveralls.io/builds/5983680)\n\nCoverage increased (+0.5%) to 99.58% when pulling **22137a62c85d889d5d3ab1a6a6d4d42b6af44a5e on Erol:use-oj-parser** into **ef1a77a85fa83f9953bb240f38346d642e4be705 on hanami:master**.\n"}}