{"action":"created","issue":{"url":"https://api.github.com/repos/bluelinelabs/LoganSquare/issues/94","labels_url":"https://api.github.com/repos/bluelinelabs/LoganSquare/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/bluelinelabs/LoganSquare/issues/94/comments","events_url":"https://api.github.com/repos/bluelinelabs/LoganSquare/issues/94/events","html_url":"https://github.com/bluelinelabs/LoganSquare/issues/94","id":113915750,"number":94,"title":"Lib is much slower than manual parsing of JSONObject","user":{"login":"MGasztold","id":11412357,"avatar_url":"https://avatars.githubusercontent.com/u/11412357?v=3","gravatar_id":"","url":"https://api.github.com/users/MGasztold","html_url":"https://github.com/MGasztold","followers_url":"https://api.github.com/users/MGasztold/followers","following_url":"https://api.github.com/users/MGasztold/following{/other_user}","gists_url":"https://api.github.com/users/MGasztold/gists{/gist_id}","starred_url":"https://api.github.com/users/MGasztold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGasztold/subscriptions","organizations_url":"https://api.github.com/users/MGasztold/orgs","repos_url":"https://api.github.com/users/MGasztold/repos","events_url":"https://api.github.com/users/MGasztold/events{/privacy}","received_events_url":"https://api.github.com/users/MGasztold/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-28T20:32:47Z","updated_at":"2015-10-29T11:08:51Z","closed_at":"2015-10-29T11:08:51Z","body":"Today I have tried to use LoganSquare to speed up parsing of my JSON which is pretty huge (contains a long arrays and its overall size is over 1 MB). \r\n\r\nI serialized my class to which I load the data from the JSON (i added @JsonObject, @JsonField annotations to the fields etc.). Eventually I used HttpUrlConnection to download the InputStream object that i put straight to the LoganSquare.parse(...) method.\r\n\r\nIn general the data is successfully loaded into my object and the thing is working but as I compared the timings i got the following:\r\n - my own straightforward, no serialized parsing of the JSONObject response from volley request using JSONReader (http://developer.android.com/reference/android/util/JsonReader.html) - > 15 seconds\r\n - LoganSquare: 45 seconds.\r\n\r\nDo you think i might be doing something wrong? Any help/hint would be appreciated."},"comment":{"url":"https://api.github.com/repos/bluelinelabs/LoganSquare/issues/comments/152148343","html_url":"https://github.com/bluelinelabs/LoganSquare/issues/94#issuecomment-152148343","issue_url":"https://api.github.com/repos/bluelinelabs/LoganSquare/issues/94","id":152148343,"user":{"login":"MGasztold","id":11412357,"avatar_url":"https://avatars.githubusercontent.com/u/11412357?v=3","gravatar_id":"","url":"https://api.github.com/users/MGasztold","html_url":"https://github.com/MGasztold","followers_url":"https://api.github.com/users/MGasztold/followers","following_url":"https://api.github.com/users/MGasztold/following{/other_user}","gists_url":"https://api.github.com/users/MGasztold/gists{/gist_id}","starred_url":"https://api.github.com/users/MGasztold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGasztold/subscriptions","organizations_url":"https://api.github.com/users/MGasztold/orgs","repos_url":"https://api.github.com/users/MGasztold/repos","events_url":"https://api.github.com/users/MGasztold/events{/privacy}","received_events_url":"https://api.github.com/users/MGasztold/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T11:08:51Z","updated_at":"2015-10-29T11:08:51Z","body":"I have found another reason of my problems. Your library works totally fine and is a bit faster than JSONReader."}}