{"action":"closed","issue":{"url":"https://api.github.com/repos/playcanvas/engine/issues/537","repository_url":"https://api.github.com/repos/playcanvas/engine","labels_url":"https://api.github.com/repos/playcanvas/engine/issues/537/labels{/name}","comments_url":"https://api.github.com/repos/playcanvas/engine/issues/537/comments","events_url":"https://api.github.com/repos/playcanvas/engine/issues/537/events","html_url":"https://github.com/playcanvas/engine/issues/537","id":136343168,"number":537,"title":"Reallocation of rect by `getBoundingClientRect`","user":{"login":"willeastcott","id":697563,"avatar_url":"https://avatars.githubusercontent.com/u/697563?v=3","gravatar_id":"","url":"https://api.github.com/users/willeastcott","html_url":"https://github.com/willeastcott","followers_url":"https://api.github.com/users/willeastcott/followers","following_url":"https://api.github.com/users/willeastcott/following{/other_user}","gists_url":"https://api.github.com/users/willeastcott/gists{/gist_id}","starred_url":"https://api.github.com/users/willeastcott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willeastcott/subscriptions","organizations_url":"https://api.github.com/users/willeastcott/orgs","repos_url":"https://api.github.com/users/willeastcott/repos","events_url":"https://api.github.com/users/willeastcott/events{/privacy}","received_events_url":"https://api.github.com/users/willeastcott/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/playcanvas/engine/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"Maksims","id":636263,"avatar_url":"https://avatars.githubusercontent.com/u/636263?v=3","gravatar_id":"","url":"https://api.github.com/users/Maksims","html_url":"https://github.com/Maksims","followers_url":"https://api.github.com/users/Maksims/followers","following_url":"https://api.github.com/users/Maksims/following{/other_user}","gists_url":"https://api.github.com/users/Maksims/gists{/gist_id}","starred_url":"https://api.github.com/users/Maksims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maksims/subscriptions","organizations_url":"https://api.github.com/users/Maksims/orgs","repos_url":"https://api.github.com/users/Maksims/repos","events_url":"https://api.github.com/users/Maksims/events{/privacy}","received_events_url":"https://api.github.com/users/Maksims/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-25T10:25:21Z","updated_at":"2016-02-25T13:35:27Z","closed_at":"2016-02-25T13:35:27Z","body":"Calling getBoundingClientRect every frame re-allocates a ClientRect object. This contributes to GC stalls,\r\n\r\nhttps://github.com/playcanvas/engine/blob/master/src/graphics/device.js#L540"}}