{"action":"created","issue":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/97","labels_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97/comments","events_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97/events","html_url":"https://github.com/yadayada/acd_cli/issues/97","id":96921388,"number":97,"title":"Improving directory listing (getattr()) performance","user":{"login":"msh100","id":4477262,"avatar_url":"https://avatars.githubusercontent.com/u/4477262?v=3","gravatar_id":"","url":"https://api.github.com/users/msh100","html_url":"https://github.com/msh100","followers_url":"https://api.github.com/users/msh100/followers","following_url":"https://api.github.com/users/msh100/following{/other_user}","gists_url":"https://api.github.com/users/msh100/gists{/gist_id}","starred_url":"https://api.github.com/users/msh100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msh100/subscriptions","organizations_url":"https://api.github.com/users/msh100/orgs","repos_url":"https://api.github.com/users/msh100/repos","events_url":"https://api.github.com/users/msh100/events{/privacy}","received_events_url":"https://api.github.com/users/msh100/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yadayada/acd_cli/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/yadayada/acd_cli/labels/FUSE","name":"FUSE","color":"fbca04"},{"url":"https://api.github.com/repos/yadayada/acd_cli/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-23T22:51:43Z","updated_at":"2015-10-12T21:00:23Z","closed_at":null,"body":"I have noticed directory listing and generally `getattr()` performance on `acd_cli` is quite poor.\r\n\r\n```bash\r\n$ time tree $LOCAL > /dev/null\r\nreal    0m2.093s\r\nuser    0m0.252s\r\nsys     0m0.044s\r\n$ time tree $ACD > /dev/null\r\nreal    1m10.940s\r\nuser    0m0.112s\r\nsys     0m0.152s\r\n```\r\n\r\n`$LOCAL` is a local EXT4 filesystem. Both `$LOCAL` and `$ACD` have the same files and structure.\r\n\r\nDuring the `tree` period, the `acd_cli` mount is also at 100% CPU. I understand that all the data is being stored locally (once fetched from an `acd_cli sync`) so believe the performance can be greatly improved. \r\n\r\nI understand it will never match the EXT4 performance, however shouldn't be this resource intensive/inefficient."},"comment":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/comments/147520415","html_url":"https://github.com/yadayada/acd_cli/issues/97#issuecomment-147520415","issue_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97","id":147520415,"user":{"login":"shushry","id":145899,"avatar_url":"https://avatars.githubusercontent.com/u/145899?v=3","gravatar_id":"","url":"https://api.github.com/users/shushry","html_url":"https://github.com/shushry","followers_url":"https://api.github.com/users/shushry/followers","following_url":"https://api.github.com/users/shushry/following{/other_user}","gists_url":"https://api.github.com/users/shushry/gists{/gist_id}","starred_url":"https://api.github.com/users/shushry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shushry/subscriptions","organizations_url":"https://api.github.com/users/shushry/orgs","repos_url":"https://api.github.com/users/shushry/repos","events_url":"https://api.github.com/users/shushry/events{/privacy}","received_events_url":"https://api.github.com/users/shushry/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T21:00:23Z","updated_at":"2015-10-12T21:00:23Z","body":"I'm definitely interested in it - but I don't possess the coding skills.   Who wants a shiny cold six-pack to do this?   Performance boosting directory enumeration would be most helpful."}}