in reply to Re: Best practices for file synchronization? (Mod time vs. contents compare)
in thread Best practices for file synchronization? (Mod time vs. contents compare)

OK, so I benched File::Comparing vs. using MD5 digests, vs. using modification times.

After four runs, I got an average time of about 42 seconds using full comparison, about 48 seconds for MD5 (calculating for just the source, as the destination presumablyalready has one), and about 11 seconds for just modification times using stat().

I think I am just going to go with modification time.

Thanks,

T.

_________________________________________________________________________________

I like computer programming because it's like Legos for the mind.

  • Comment on Re^2: Best practices for file synchronization? (Mod time vs. contents compare)