{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3922","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3922/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3922/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3922/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/3922","id":133187866,"number":3922,"title":"[iOS] map consumes 40% CPU continuously — mbgl::Painter::render()","user":{"login":"RomainQuidet","id":8179069,"avatar_url":"https://avatars.githubusercontent.com/u/8179069?v=3","gravatar_id":"","url":"https://api.github.com/users/RomainQuidet","html_url":"https://github.com/RomainQuidet","followers_url":"https://api.github.com/users/RomainQuidet/followers","following_url":"https://api.github.com/users/RomainQuidet/following{/other_user}","gists_url":"https://api.github.com/users/RomainQuidet/gists{/gist_id}","starred_url":"https://api.github.com/users/RomainQuidet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomainQuidet/subscriptions","organizations_url":"https://api.github.com/users/RomainQuidet/orgs","repos_url":"https://api.github.com/users/RomainQuidet/repos","events_url":"https://api.github.com/users/RomainQuidet/events{/privacy}","received_events_url":"https://api.github.com/users/RomainQuidet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"207de5"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/performance","name":"performance","color":"33aa33"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-12T08:54:27Z","updated_at":"2016-02-12T15:29:44Z","closed_at":null,"body":"On master branch, with our own samples app we can navigate between different view controllers presenting a Mapbox map view.\r\nSometimes (I can't get the exact reproduce steps), when creating the view controller and presenting it the map starts to consumes CPU for no reason. It never stops.\r\nSee the instruments trace provided.\r\n[InstrumentsSamples.trace.zip](https://github.com/mapbox/mapbox-gl-native/files/127699/InstrumentsSamples.trace.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/183373882","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/3922#issuecomment-183373882","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/3922","id":183373882,"user":{"login":"1ec5","id":1231218,"avatar_url":"https://avatars.githubusercontent.com/u/1231218?v=3","gravatar_id":"","url":"https://api.github.com/users/1ec5","html_url":"https://github.com/1ec5","followers_url":"https://api.github.com/users/1ec5/followers","following_url":"https://api.github.com/users/1ec5/following{/other_user}","gists_url":"https://api.github.com/users/1ec5/gists{/gist_id}","starred_url":"https://api.github.com/users/1ec5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1ec5/subscriptions","organizations_url":"https://api.github.com/users/1ec5/orgs","repos_url":"https://api.github.com/users/1ec5/repos","events_url":"https://api.github.com/users/1ec5/events{/privacy}","received_events_url":"https://api.github.com/users/1ec5/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T15:29:44Z","updated_at":"2016-02-12T15:29:44Z","body":"Had you been performing any animations up to the point where this issue began reproducing? Also, were the different view controllers sharing a single MGLMapView, or did they have different instances?"}}