AnantLabs / sharpfile

Automatically exported from code.google.com/p/sharpfile
2 stars 1 forks source link

Investigate sluggish performance (esp over network) #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect to a network drive
2. Notice the lag it takes to show the files/directories compared to explorer

Original issue reported on code.google.com by longueur...@gmail.com on 23 Feb 2008 at 11:48

GoogleCodeExporter commented 9 years ago
I think this has to do with a design decision I made at the very beginning -- 
namely
some custom objects that wrap the FileSystemInfo, FileInfo, DirectoryInfo 
objects
that ship with the framework. It takes 1s to retrieve all of the directories 
from my
network drive and a full 2s to convert those framework DirectoryInfo's to my 
custom
objects (not to mention the memory overhead in carrying around all of the extra
objects). I should look into using the framework objects as much as possible. 
This
will probably mean adding some static methods somewhere that replicate all of 
the
functionality that I added to the custom objects (not to mention the complete 
pain in
the ass it will be to switch over all of my code). Hopefully, though, this will
drastically improve the response time when grabbing a lot of directory/file 
information.

Original comment by longueur...@gmail.com on 24 Feb 2008 at 12:58

GoogleCodeExporter commented 9 years ago
Getting rid of the custom objects (and using FileSystemInfo objects instead) 
has sped
up the original retrieval of a large number of objects in r252. LCG will be 
used to
speed up setting/getting properties for the dynamic columns.

Original comment by longueur...@gmail.com on 25 Feb 2008 at 3:38