Ticket #3958 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Deleting large directory structures is very slow

Reported by: dandv Owned by: andrew_b
Priority: major Milestone: 4.8.23
Component: mc-core Version: 4.8.19
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

When recursively deleting a directory with many subdirectories, MC shows the progress of the entire operation file by file. This is at least an order of magnitude slower than rm -rf target.

GNU Midnight Commander 4.8.19
Built with GLib 2.53.4
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

Change History

comment:1 Changed 6 years ago by andrew_b

  • Version changed from master to 4.8.19

MC shows the progress of the entire operation file by file.

It takes some time to redraw the screen.

This is at least an order of magnitude slower than rm -rf target.

Does rm -rf show any info?

comment:2 Changed 6 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.23

Branch: 3958_slow_dir_delete
changeset:1971dd6ba7987a1de88fe2b69d33338c6b21cf76

Please test.

comment:3 Changed 6 years ago by andrew_b

  • Votes for changeset set to andrew_b
  • Branch state changed from on review to approved

comment:4 Changed 6 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:5 Changed 6 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.