{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/9733","labels_url":"https://api.github.com/repos/owncloud/core/issues/9733/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/9733/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/9733/events","html_url":"https://github.com/owncloud/core/pull/9733","id":38206471,"number":9733,"title":"[WIP] [DO NOT MERGE] make group reading and user counting faster","user":{"login":"blizzz","id":2184312,"avatar_url":"https://avatars.githubusercontent.com/u/2184312?v=3","gravatar_id":"","url":"https://api.github.com/users/blizzz","html_url":"https://github.com/blizzz","followers_url":"https://api.github.com/users/blizzz/followers","following_url":"https://api.github.com/users/blizzz/following{/other_user}","gists_url":"https://api.github.com/users/blizzz/gists{/gist_id}","starred_url":"https://api.github.com/users/blizzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blizzz/subscriptions","organizations_url":"https://api.github.com/users/blizzz/orgs","repos_url":"https://api.github.com/users/blizzz/repos","events_url":"https://api.github.com/users/blizzz/events{/privacy}","received_events_url":"https://api.github.com/users/blizzz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/4%20-%20Developing","name":"4 - Developing","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/owncloud/core/labels/settings:users","name":"settings:users","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-next","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-next","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":325,"closed_issues":0,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-04-30T11:37:11Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2014-07-18T19:46:04Z","updated_at":"2015-04-30T23:29:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/9733","html_url":"https://github.com/owncloud/core/pull/9733","diff_url":"https://github.com/owncloud/core/pull/9733.diff","patch_url":"https://github.com/owncloud/core/pull/9733.patch"},"body":"Needs more work, but so far my case was get all groups (still happens in too many places) with a lot of LDAP groups (7005) next to other groups plus user counting with search string. Here I went down from terrible 170s to 23s.\r\n\r\nTODOs left: \r\n- [ ] benchmark with  AD (so far only OpenLDAP tested)\r\n- [ ] benchmark without cache (no cache vs file cache)\r\n- [ ] benchmark with other test cases (esp. with Limit)\r\n- [ ] benchmark with smaller number of groups\r\n- [ ] tests for group/database\r\n- [ ] tests for access?\r\n- [ ] tests for  group_ldap?\r\n- [ ] doc: highly recommend memcache (other pull request)"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/97999142","html_url":"https://github.com/owncloud/core/pull/9733#issuecomment-97999142","issue_url":"https://api.github.com/repos/owncloud/core/issues/9733","id":97999142,"user":{"login":"owncloud-bot","id":2709266,"avatar_url":"https://avatars.githubusercontent.com/u/2709266?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud-bot","html_url":"https://github.com/owncloud-bot","followers_url":"https://api.github.com/users/owncloud-bot/followers","following_url":"https://api.github.com/users/owncloud-bot/following{/other_user}","gists_url":"https://api.github.com/users/owncloud-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud-bot/subscriptions","organizations_url":"https://api.github.com/users/owncloud-bot/orgs","repos_url":"https://api.github.com/users/owncloud-bot/repos","events_url":"https://api.github.com/users/owncloud-bot/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud-bot/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T23:29:15Z","updated_at":"2015-04-30T23:29:15Z","body":"\nRefer to this link for build results (access rights to CI server needed): \nhttps://ci.owncloud.org//job/pull-request-analyser-ng-simple/12095/\n:rocket: Test PASSed.:rocket:\n![chuck](https://cloud.githubusercontent.com/assets/1005065/6865211/d99978f2-d46b-11e4-9c1d-66f21a737511.jpg)"}}