{"action":"created","issue":{"url":"https://api.github.com/repos/ImageEngine/gaffer/issues/1151","labels_url":"https://api.github.com/repos/ImageEngine/gaffer/issues/1151/labels{/name}","comments_url":"https://api.github.com/repos/ImageEngine/gaffer/issues/1151/comments","events_url":"https://api.github.com/repos/ImageEngine/gaffer/issues/1151/events","html_url":"https://github.com/ImageEngine/gaffer/issues/1151","id":53785491,"number":1151,"title":"multithread instantiation of child procedurals in SceneProcedural","user":{"login":"davidsminor","id":3986762,"avatar_url":"https://avatars.githubusercontent.com/u/3986762?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsminor","html_url":"https://github.com/davidsminor","followers_url":"https://api.github.com/users/davidsminor/followers","following_url":"https://api.github.com/users/davidsminor/following{/other_user}","gists_url":"https://api.github.com/users/davidsminor/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsminor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsminor/subscriptions","organizations_url":"https://api.github.com/users/davidsminor/orgs","repos_url":"https://api.github.com/users/davidsminor/repos","events_url":"https://api.github.com/users/davidsminor/events{/privacy}","received_events_url":"https://api.github.com/users/davidsminor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-08T18:46:32Z","updated_at":"2015-01-14T16:50:32Z","closed_at":"2015-01-14T16:50:32Z","body":"SceneProcedural::SceneProcedural() involves attribute evaluations, and renderer->procedural( sceneProcedural ) involves bound evaluations. For objects with large numbers of children, this can lead to a lot of potentially expensive operations happening in series. By multithreading procedural creation and bound computation, I've been able to reduce the render time for a simple test scene from about 40 seconds to 7.5 seconds (this includes startup/script load time and a 250 x 125 render with no shaders)"},"comment":{"url":"https://api.github.com/repos/ImageEngine/gaffer/issues/comments/69948179","html_url":"https://github.com/ImageEngine/gaffer/issues/1151#issuecomment-69948179","issue_url":"https://api.github.com/repos/ImageEngine/gaffer/issues/1151","id":69948179,"user":{"login":"johnhaddon","id":1133871,"avatar_url":"https://avatars.githubusercontent.com/u/1133871?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhaddon","html_url":"https://github.com/johnhaddon","followers_url":"https://api.github.com/users/johnhaddon/followers","following_url":"https://api.github.com/users/johnhaddon/following{/other_user}","gists_url":"https://api.github.com/users/johnhaddon/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaddon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaddon/subscriptions","organizations_url":"https://api.github.com/users/johnhaddon/orgs","repos_url":"https://api.github.com/users/johnhaddon/repos","events_url":"https://api.github.com/users/johnhaddon/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaddon/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T16:50:32Z","updated_at":"2015-01-14T16:50:32Z","body":"Closing - addressed by David in #1152."}}