{"action":"created","issue":{"url":"https://api.github.com/repos/kenjis/user-agent-parser-benchmarks/issues/1","labels_url":"https://api.github.com/repos/kenjis/user-agent-parser-benchmarks/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kenjis/user-agent-parser-benchmarks/issues/1/comments","events_url":"https://api.github.com/repos/kenjis/user-agent-parser-benchmarks/issues/1/events","html_url":"https://github.com/kenjis/user-agent-parser-benchmarks/issues/1","id":58112186,"number":1,"title":"Crossjoin\\Browscap result","user":{"login":"crossjoin","id":7429729,"avatar_url":"https://avatars.githubusercontent.com/u/7429729?v=3","gravatar_id":"","url":"https://api.github.com/users/crossjoin","html_url":"https://github.com/crossjoin","followers_url":"https://api.github.com/users/crossjoin/followers","following_url":"https://api.github.com/users/crossjoin/following{/other_user}","gists_url":"https://api.github.com/users/crossjoin/gists{/gist_id}","starred_url":"https://api.github.com/users/crossjoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossjoin/subscriptions","organizations_url":"https://api.github.com/users/crossjoin/orgs","repos_url":"https://api.github.com/users/crossjoin/repos","events_url":"https://api.github.com/users/crossjoin/events{/privacy}","received_events_url":"https://api.github.com/users/crossjoin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-18T19:04:27Z","updated_at":"2015-02-24T13:10:32Z","closed_at":null,"body":"Hi,\r\n\r\nI just saw your benchmarks and would like to check the reason for the bad performance in your test, because I wonder a bit about it (differs a lot from my tests).\r\n\r\n- Did you use the recommended settings (PHP >= 5.5)?\r\n- Which Browscap file version did you use for your tests?\r\n- Which other settings did you use (opcode cache etc.)?\r\n\r\nBest,\r\nChris"},"comment":{"url":"https://api.github.com/repos/kenjis/user-agent-parser-benchmarks/issues/comments/75753321","html_url":"https://github.com/kenjis/user-agent-parser-benchmarks/issues/1#issuecomment-75753321","issue_url":"https://api.github.com/repos/kenjis/user-agent-parser-benchmarks/issues/1","id":75753321,"user":{"login":"crossjoin","id":7429729,"avatar_url":"https://avatars.githubusercontent.com/u/7429729?v=3","gravatar_id":"","url":"https://api.github.com/users/crossjoin","html_url":"https://github.com/crossjoin","followers_url":"https://api.github.com/users/crossjoin/followers","following_url":"https://api.github.com/users/crossjoin/following{/other_user}","gists_url":"https://api.github.com/users/crossjoin/gists{/gist_id}","starred_url":"https://api.github.com/users/crossjoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossjoin/subscriptions","organizations_url":"https://api.github.com/users/crossjoin/orgs","repos_url":"https://api.github.com/users/crossjoin/repos","events_url":"https://api.github.com/users/crossjoin/events{/privacy}","received_events_url":"https://api.github.com/users/crossjoin/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T13:10:32Z","updated_at":"2015-02-24T13:10:32Z","body":"Yes, if that's your goal, then your benchmark results are misleading. \r\n\r\nI also searched for a user agent parser for my projects and finally created Crossjoin\\Browscap.\r\n\r\nThe main problem of other browscap parsers was the huge data set, resulting in memory errors especially in shared hosting environments, where you cannot adjust the settings. This was especially the case on the first request or when updating the browscap data.\r\n\r\nSo perhaps the initialization/preparation should also be checked in your benchmark?"}}