{"action":"created","issue":{"url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/251","labels_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/251/comments","events_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/251/events","html_url":"https://github.com/Hearst-DD/ObjectMapper/issues/251","id":112398616,"number":251,"title":"Decreased performance on large JSON object in Swift 2.0","user":{"login":"jrpdrummer","id":3495173,"avatar_url":"https://avatars.githubusercontent.com/u/3495173?v=3","gravatar_id":"","url":"https://api.github.com/users/jrpdrummer","html_url":"https://github.com/jrpdrummer","followers_url":"https://api.github.com/users/jrpdrummer/followers","following_url":"https://api.github.com/users/jrpdrummer/following{/other_user}","gists_url":"https://api.github.com/users/jrpdrummer/gists{/gist_id}","starred_url":"https://api.github.com/users/jrpdrummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrpdrummer/subscriptions","organizations_url":"https://api.github.com/users/jrpdrummer/orgs","repos_url":"https://api.github.com/users/jrpdrummer/repos","events_url":"https://api.github.com/users/jrpdrummer/events{/privacy}","received_events_url":"https://api.github.com/users/jrpdrummer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T15:44:09Z","updated_at":"2015-10-20T17:40:02Z","closed_at":null,"body":"The app that I'm working on consumes very large (~1 MB) JSON objects. In Swift 1.2, ObjectMapper was able to map it in < 5s. In Swift 2.0, it is taking > 50s.\r\n\r\nThis occurs in older versions of ObjectMapper and the latest. The difference seems to be Swift 1.2 versus Swift 2.0."},"comment":{"url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/comments/149643297","html_url":"https://github.com/Hearst-DD/ObjectMapper/issues/251#issuecomment-149643297","issue_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/251","id":149643297,"user":{"login":"tristanhimmelman","id":1562134,"avatar_url":"https://avatars.githubusercontent.com/u/1562134?v=3","gravatar_id":"","url":"https://api.github.com/users/tristanhimmelman","html_url":"https://github.com/tristanhimmelman","followers_url":"https://api.github.com/users/tristanhimmelman/followers","following_url":"https://api.github.com/users/tristanhimmelman/following{/other_user}","gists_url":"https://api.github.com/users/tristanhimmelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tristanhimmelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristanhimmelman/subscriptions","organizations_url":"https://api.github.com/users/tristanhimmelman/orgs","repos_url":"https://api.github.com/users/tristanhimmelman/repos","events_url":"https://api.github.com/users/tristanhimmelman/events{/privacy}","received_events_url":"https://api.github.com/users/tristanhimmelman/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T17:40:02Z","updated_at":"2015-10-20T17:40:02Z","body":"Hey @jrpdrummer, this is concerning. Off the top of my head I'm not sure what could be causing this slow down.\r\n\r\nIn your build settings, have you tried setting the \"Optimization Level\" to \"Fast, Whole Module Optimization\"?"}}