Osmose / advanced-open-file

Open files and folders in Atom easily.
https://atom.io/packages/advanced-open-file
Other
118 stars 20 forks source link

Unusable on an NFS mount #59

Open artagnon opened 8 years ago

artagnon commented 8 years ago

My shell isn't doing anywhere near as badly, so it's not a general lag issue. Why is each directory change so painful?

Osmose commented 8 years ago

We do a directory listing and then a stat on each file before displaying, maybe the stats are causing the pain? I wonder if, as part of #56, we should maybe display the listing as soon as we have it and then update it after the stats come back?

It'd be worth it to confirm first if it is the stats by Path.stat and seeing if it becomes usable again.

artagnon commented 8 years ago

Yep, we should do exactly that, I think.

Osmose commented 8 years ago

I just landed some performance improvements in 0.15.0. Specifically there's some caching being done around file reads now that might help, but I'm not really sure and wasn't specifically targeting or testing an NFS mount. Can you update us on how 0.15.0 handles your previously-slow directories?