! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Archives take a long time to extract
Status:
RESOLVED: INVALID
Product:
Xarchiver
Component:
general

Comments

Description Michael Cronenworth 2006-07-11 14:02:46 CEST
Every zip I have takes around 30 seconds to extract. Even if it is one file that is 1 meg uncompressed text.

Have you guys tested with Zip archives?
Comment 1 Giuseppe Torelli 2006-07-12 06:58:01 CEST
Can't reproduce with the actual revision. I tried with huge zip archives (many files) and small ones (8 files). Can you please run:

src/xarchiver &

strace -p [PID]

where [PID] is the number you get after running xarchiver with &
and report here the output after a while ?
Comment 2 Michael Cronenworth 2006-07-12 15:51:36 CEST
Created attachment 660 
Strace log of ZIP Extract

OK, I have attached the strace. It begins with me pressing <ENTER> to start the extraction as I had the extract dialog already up, and CTRL+C to break out after it finishes extracting.

I extracted a 969.7k file, which took about 3 seconds to extract. It contains 25 seperate files (no folders). The extracted size is 2 megs.

Running "unzip file.zip" takes less then a second.

"30 seconds" might be a bit exaggerated, but it certainly takes too much time over the command line equivalent.

I will also rename this as it happens with tar files too, unless this added ~3 seconds to extraction is expected.

tar zxf on the same group of files happens instantly. Takes about 3-4 seconds for Xarchiver to work.
Comment 3 Michael Cronenworth 2006-07-12 15:55:28 CEST
Also wanted to add that extracting the attachment I have provided takes a minimum of 3 seconds. "tar jxf strace.tar.bz2" at the command line comes back after less then a second.
Comment 4 Giuseppe Torelli 2006-07-13 09:08:55 CEST
May you attach the archive here or send it by email? My email is in the xarchiver source files.
Comment 5 Giuseppe Torelli 2006-07-13 09:11:21 CEST
>Also wanted to add that extracting the attachment I have provided takes a
>minimum of 3 seconds. "tar jxf strace.tar.bz2" at the command line comes back
>after less then a second.

On my Pentium 4 3.0 GHZ HyperThreading opening the strace.tar.bz2 took less than a second also. At this point I have to ask you:

What is the speed of your processor ?
Comment 6 Michael Cronenworth 2006-07-13 17:40:19 CEST
(In reply to comment #5)
> What is the speed of your processor ?
> 

P4 3.06ghz Hyperthreaded
Comment 7 Michael Cronenworth 2006-07-13 17:45:36 CEST
(In reply to comment #5)
> On my Pentium 4 3.0 GHZ HyperThreading opening the strace.tar.bz2 took less
> than a second also. At this point I have to ask you:
> 

Opening is not the problem. Extraction is the problem. Two different things.

I am watching the "status" bar on Xarchiver and watching it move back and forth as it extracts. It takes at least 3 seconds for it to stop moving when I extract strace.tar.bz2.
Comment 8 Giuseppe Torelli 2006-07-14 05:46:35 CEST
I can't reproduce on my Linux box. Extracting the strace.tar.bz2 takes less than a second also, the progress bar appears and immediately disapperars.

1) Can you try to extract the files to a different partition ?
2) Can you ask a friend to extract the .tar.bz2 ?

Thank you,
Giuseppe
Comment 9 Giuseppe Torelli 2006-07-24 08:31:38 CEST
I close this bug since is not reproducable, feel free to reopen it but please send reports from other people showing the problem.

Bug #2015

Reported by:
Michael Cronenworth
Reported on: 2006-07-11
Last modified on: 2006-07-24

People

Assignee:
Giuseppe Torelli
CC List:
0 users

Version

Version:
0.3.9svn

Attachments

Strace log of ZIP Extract (63.44 KB, application/x-bzip-compressed-tar)
2006-07-12 15:51 CEST , Michael Cronenworth
no flags

Additional information