Page 1 of 1
Different timestamps config not working
Posted: Sun Mar 02, 2008 6:00 am
by Cussuol
Hello
I'm trying ExamDiff Pro (beta). It's great.
I'm comparing some directories trees with a lot of small files and a few huge binary files (acctually they're SqlServer databases files).
At "Directory Comparison Options" dialog, the box: "Perform Full file comparison" is unchecked and the box: "Consider files with different timestamps different" is checked.
Those binary files have the same size but different timestamps, so i expected the directory comparison were quick, but it takes ages. I'm pretty sure ExamDiff is examinating each byte of those files when it should just mark then as different.
Is there anything i can do to help you fix this?
Thank you.
Re: Different timestamps config not working
Posted: Sun Mar 02, 2008 10:30 am
by psguru
Is there anything i can do to help you fix this?
Sure. It would be great if you could attach a zip file with your two directories and your options (which you can export to file via the Options dialog).
Re: Different timestamps config not working
Posted: Sun Mar 02, 2008 12:17 pm
by Cussuol
This is my options.file.
The folders are too big to be attached.
Actually that's the only reason i believe that's something wrong: The time examdiff takes to declare the files are different.
I thing that's not hard to simulate, just take any big binary file, copy it to another folder and change it's timestamp leaving the content untouched. Then compare the folders and try to see how long examdiff takes to tell you they're different.
Re: Different timestamps config not working
Posted: Sun Mar 02, 2008 12:50 pm
by psguru
Here's the reason: you have the following option on: "Consider files with same CRC identical". This causes EDPro to calculate the files CRC, which obviously takes time. Turn it off and re-compare.
Re: Different timestamps config not working
Posted: Sun Mar 02, 2008 2:21 pm
by Cussuol
It solves the problem. Thank You.
May i suggest you to check the timestamp before the crc. If the timestamps are different then there's no need to spend time calculating the hash.
By the way, it would be realy, realy nice, to have a button to apply all the differences from one folder to the other automatically. I know there's a wish list and i voted for this feature.
Re: Different timestamps config not working
Posted: Sun Mar 02, 2008 3:20 pm
by psguru
May i suggest you to check the timestamp before the crc. If the timestamps are different then there's no need to spend time calculating the hash.
No, the whole point of this CRC option is to consider files identical
even when their sizes and/or timestapms are different.
By the way, it would be realy, realy nice, to have a button to apply all the differences from one folder to the other automatically. I know there's a wish list and i voted for this feature.
Yes, your vote has been added to the wish list.