{"action":"opened","issue":{"url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2183","labels_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2183/labels{/name}","comments_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2183/comments","events_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2183/events","html_url":"https://github.com/orbeon/orbeon-forms/issues/2183","id":68163872,"number":2183,"title":"Slow control insertion in large form","user":{"login":"ebruchez","id":105769,"avatar_url":"https://avatars.githubusercontent.com/u/105769?v=3","gravatar_id":"","url":"https://api.github.com/users/ebruchez","html_url":"https://github.com/ebruchez","followers_url":"https://api.github.com/users/ebruchez/followers","following_url":"https://api.github.com/users/ebruchez/following{/other_user}","gists_url":"https://api.github.com/users/ebruchez/gists{/gist_id}","starred_url":"https://api.github.com/users/ebruchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebruchez/subscriptions","organizations_url":"https://api.github.com/users/ebruchez/orgs","repos_url":"https://api.github.com/users/ebruchez/repos","events_url":"https://api.github.com/users/ebruchez/events{/privacy}","received_events_url":"https://api.github.com/users/ebruchez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orbeon/orbeon-forms/labels/Form%20Builder","name":"Form Builder","color":"fad8c7"},{"url":"https://api.github.com/repos/orbeon/orbeon-forms/labels/Performance","name":"Performance","color":"F5B800"}],"state":"open","locked":false,"assignee":{"login":"ebruchez","id":105769,"avatar_url":"https://avatars.githubusercontent.com/u/105769?v=3","gravatar_id":"","url":"https://api.github.com/users/ebruchez","html_url":"https://github.com/ebruchez","followers_url":"https://api.github.com/users/ebruchez/followers","following_url":"https://api.github.com/users/ebruchez/following{/other_user}","gists_url":"https://api.github.com/users/ebruchez/gists{/gist_id}","starred_url":"https://api.github.com/users/ebruchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebruchez/subscriptions","organizations_url":"https://api.github.com/users/ebruchez/orgs","repos_url":"https://api.github.com/users/ebruchez/repos","events_url":"https://api.github.com/users/ebruchez/events{/privacy}","received_events_url":"https://api.github.com/users/ebruchez/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-04-13T18:35:23Z","updated_at":"2015-04-13T18:35:23Z","closed_at":null,"body":"Form:\r\n\r\n- 169 sections\r\n- 284 grids\r\n- 2485 controls total\r\n\r\nAll sections except first one are collapsed. But adding a control in first section takes seconds.\r\n\r\nProfiler shows:\r\n\r\n- 79% `createTemplateContentFromBind.findCurrentBindingByName`\r\n  - 67% `findCurrentBinding`\r\n  - 59% `findDatatypeDescriptor`\r\n  - 58% `descriptorsForSelectors`\r\n  - 58% `CSSSelectorParser.parseSelectors`\r\n"}}