{"action":"closed","issue":{"url":"https://api.github.com/repos/curationexperts/goldenseal/issues/196","labels_url":"https://api.github.com/repos/curationexperts/goldenseal/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/curationexperts/goldenseal/issues/196/comments","events_url":"https://api.github.com/repos/curationexperts/goldenseal/issues/196/events","html_url":"https://github.com/curationexperts/goldenseal/issues/196","id":111722468,"number":196,"title":"Improve importer performance","user":{"login":"mark-dce","id":3064318,"avatar_url":"https://avatars.githubusercontent.com/u/3064318?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-dce","html_url":"https://github.com/mark-dce","followers_url":"https://api.github.com/users/mark-dce/followers","following_url":"https://api.github.com/users/mark-dce/following{/other_user}","gists_url":"https://api.github.com/users/mark-dce/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-dce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-dce/subscriptions","organizations_url":"https://api.github.com/users/mark-dce/orgs","repos_url":"https://api.github.com/users/mark-dce/repos","events_url":"https://api.github.com/users/mark-dce/events{/privacy}","received_events_url":"https://api.github.com/users/mark-dce/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-10-15T22:40:01Z","updated_at":"2015-12-22T20:31:03Z","closed_at":"2015-12-22T20:31:03Z","body":"**ISSUE**\nThe time to attach an file to a work appears to be proportional to the number of nodes in the repo.\n\n**STEP1**\nRan an import for one of the Lewald novels, initial page attach time was 4-6 seconds, growing to 12-15 seconds by the time there were 70+ pages loaded.\nhttps://gist.github.com/mark-dce/1502670590a1f0cd8b07\n\n**STEP 2**\nDelete the work created by that import.  This left about 200 ACL nodes in the repo\n\n**STEP 3** \nRe-import the same work.  Initial page times are 6-8 seconds, growing to 22-25 seconds by the time there are around 200 pages loaded\nhttps://gist.github.com/mark-dce/bdfbffaa8996d233f363"}}