You are not logged in.

#1 2008-04-11 13:39:53

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Copy of files in CLI and GUI... explain it to me...

i often felt KDE copying/moving/deleting is slow, which is why i decided to measure it...
So i did this little test.. cp a directory with lots of small files from ~/ to ~/some_subfolder

this is the result:

Copying with dolphin took 10 minutes.

Copying with cp -R took 3 minutes.



maybe anyone here has an explanation for this?

Last edited by Rasi (2008-04-11 13:46:13)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2008-04-11 13:56:45

danielsoft
Member
From: Czech Republic
Registered: 2008-02-16
Posts: 102

Re: Copy of files in CLI and GUI... explain it to me...

IMHO the overhead is because of abstraction layer(s): KDE file handling offers you the opportunity also to copy from/to FTP or SMB or whatever. if the progress bar also shows you the name of the file just copied, it is another little overhead (you said there was lot of files)

haven't seen the KDE sources, this is just a guess: a classical speed vs. comfort tradeoff


may the Source be with you

Offline

#3 2008-04-11 15:35:21

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Copy of files in CLI and GUI... explain it to me...

There's often an initial start-up cost too that may contribut. In order to give you the progress bar, it has to know in advance how many files are to be copied. If your folder has many files in many folders, this takes a bit of time, of course. CLI just gets on with it.

Last edited by arooaroo (2008-04-11 15:35:48)

Offline

Board footer

Powered by FluxBB