Delete speed

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Delete speed

Post 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?
TC for Linux please!
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post 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.
#5767 Personal license
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post 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:
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post 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!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post 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 ?
#5767 Personal license
Post Reply