{"action":"opened","issue":{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/2135","repository_url":"https://api.github.com/repos/UV-CDAT/uvcdat","labels_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/2135/labels{/name}","comments_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/2135/comments","events_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/2135/events","html_url":"https://github.com/UV-CDAT/uvcdat/issues/2135","id":185765224,"number":2135,"title":"performance crashes with multiple calls of createisofill","user":{"login":"painter1","id":2799665,"avatar_url":"https://avatars.githubusercontent.com/u/2799665?v=3","gravatar_id":"","url":"https://api.github.com/users/painter1","html_url":"https://github.com/painter1","followers_url":"https://api.github.com/users/painter1/followers","following_url":"https://api.github.com/users/painter1/following{/other_user}","gists_url":"https://api.github.com/users/painter1/gists{/gist_id}","starred_url":"https://api.github.com/users/painter1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/painter1/subscriptions","organizations_url":"https://api.github.com/users/painter1/orgs","repos_url":"https://api.github.com/users/painter1/repos","events_url":"https://api.github.com/users/painter1/events{/privacy}","received_events_url":"https://api.github.com/users/painter1/received_events","type":"User","site_admin":false},"labels":[{"id":20636367,"url":"https://api.github.com/repos/UV-CDAT/uvcdat/labels/Bug","name":"Bug","color":"e10c02","default":false},{"id":19749818,"url":"https://api.github.com/repos/UV-CDAT/uvcdat/labels/VCS","name":"VCS","color":"0b02e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T19:57:58Z","updated_at":"2016-10-27T19:57:58Z","closed_at":null,"body":"I am repeatedly (17 times) calling a function which generates a set of four plots with VCS.  They should all take about the same time.  With normal use of VCS, they don't.  Each is slower than the one before, and you get an overall slowdown of well over an order of magnitude - enough to make VCS almost unusable.\r\n\r\nI narrowed the problem down to vcs.elements['isofill'].   Each time my function is called another 10 or so names get added to this list.  The running time of canvas.plot is superlinear in the length of vcs.elements['isofill'].\r\n\r\nAs a workaround, I saved a copy of an early form of vcs.elements, and restored it (other than vcs.elements['display']) frequently.  This completely eliminated the performance problem, and my test problem's running time went from 3 1/2 hours to 16 minutes.\r\n\r\nIt seems to me that something in VCS does something very expensive with everything in vcs.elements['isofill'].  There may be design issues - why does everything have to be saved forever? - but that is beyond my competence to judge."}}
{"actor":{"display_login":"painter1"}}