Page 1 of 1

Delete speed

Posted: 2007-08-22, 18:29 UTC
by roentgen
There's no descript.ion.
TC checks for system/hidden/read-only attributes which explorer does also.

Any other reasons of why explorer does in 30 seconds the job TC manages to do in 5 minutes?

Posted: 2007-08-22, 21:25 UTC
by sqa_wizard
Do a quick forum search for "slow delete", this has been discussed multiple times.

Just some additional tasks of TC:

- deleting a folder TC has to delete file by file
- for each deleted file TC checks for a descript.ion. entry to delete (even if no such file exists)
- for each deleted file TC checks for a thumbnail to remove
- for each folder to delete TC checks if it is just a junction (so removes the reference only, data and original folder are kept ... Explorer deletes whole content instead)

... and a lot of more checks for sure.

Posted: 2007-08-22, 21:44 UTC
by roentgen
Do a quick forum search for "slow delete", this has been discussed multiple times.
I didn't come to this forum yesterday :wink:
- deleting a folder TC has to delete file by file
And explorer does it how?
- for each deleted file TC checks for a descript.ion. entry to delete (even if no such file exists)
My point exactly. There should be only one check, at the beginning, and this checking must be configurable. It's not like descript.ion's fall out of the sky.
- for each deleted file TC checks for a thumbnail to remove
This must be configurable also. I rather remove dead thumbs myself from time to time than having to eat my fingernails for half an hour.
- for each folder to delete TC checks if it is just a junction
Hmm... that is strong point indeed. But AFAIK NTFS response is quite fast which doesn't justify the slowness of TC
... and a lot of more checks for sure.
Looks like it's your favorite behavior :wink:

Posted: 2007-08-22, 22:26 UTC
by petermad
Any other reasons of why explorer does in 30 seconds the job TC manages to do in 5 minutes?
It must be a lot of files you are deleting....?

I just tested TC deleting 30000 files - it took 35 seconds, not using recycle bin, but including writing 700 kb of logfile and checking for descript.ion file.

If I try deleting the same 30000 zero-byte files in Explorer (still not using the recycle bin), it first takes 30 seconds to "Prepare deleting" - then deletion takes place for 15 seconds and then Explorer FREEZES up for 2 minutes and 20 seconds!

I think I like the TC way then!

Posted: 2007-08-22, 23:03 UTC
by sqa_wizard
2roentgen: You may disable your Virus Scanner temporarily (some just want to scan each file before it is deleted ... no I'm not kidding)

What about disabling the option : Operation - Calculate space occupied by subdirectories - before copying/deleting ?

Any better deletion performance ?