brackets-ftp-sync icon indicating copy to clipboard operation
brackets-ftp-sync copied to clipboard

Improve performance over very large filesets

Open timburgess opened this issue 10 years ago • 4 comments

FTP-Sync performs a directory walk and a diff on each file with it's remote counterpart. For projects containing hundreds of files, implement means in which the time taken can be reduced.

timburgess avatar Mar 25 '14 00:03 timburgess

Not only that; changing a : into ; in an open file doesn't result in a upload as the file size is the same.

Maybee open files should always be uploaded?

Parcye avatar Mar 25 '14 00:03 Parcye

Yes, as you say, this is because the file sizes are being compared. A workaround is to just add an extra space.

Ensuring all open files (i.e. all files in the brackets 'working files' area) are synced is a very good idea.

timburgess avatar Mar 25 '14 00:03 timburgess

Maybe add some checksum too? A simple quick CRC32 on each file. I don't know how it would scale up to a few hundreds files, but it may be worth trying/thinking about it.

frederichoule avatar Mar 25 '14 02:03 frederichoule

What about a simple button "Upload just this file" ...

Actually I think by skipping the directories like ".meteor" and "node_modules" and such things will be a lot better.

And if the files modification date is taken into consideration perhaps the checksum can be omitted ...

The current (lack of) speed of the "sync" for me is a show stopper (I have the paid version ...).

lvansnippenburg avatar Apr 28 '14 09:04 lvansnippenburg