7UNZIP is sooooooooo SLOOOOOOW!

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
7z takes 1.1 seconds.
7unzip takes 4 MINUTES 45 SECONDS!!!

Code:
0:00:00.008
[C:\tmp]
 9:58:21 $ timer \bin\7-ZipPortable\App\7-Zip\7z.exe x 2014.7z
Timer 1 on:  9:58:45

7-Zip [32] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04

Scanning the drive for archives:
1 file, 91905 bytes (90 KiB)

Extracting archive: 2014.7z
--
Path = 2014.7z
Type = 7z
Physical Size = 91905
Headers Size = 6159
Method = LZMA2:48m
Solid = +
Blocks = 1

Everything is Ok

Files: 980
Size:       113795824
Compressed: 91905
Timer 1 off:  9:58:46  Elapsed: 0:00:01.13

0:00:01.127
[C:\tmp]
 9:58:46 $ del /q *.txt

0:00:00.239
[C:\tmp]
 9:59:00 $ timer 7unzip /q 2014.7z
Timer 1 on:  9:59:20
Timer 1 off: 10:04:05  Elapsed: 0:04:45.55

0:04:45.540
[C:\tmp]
10:04:05 $
Edit: It is much faster (4.4 seconds) when 7UNZIPping the 7z file that was created with 7ZIP. After a couple more trials back and forth, it looks like the issue is that it has to work really hard to extract "solid" archives.
 
Last edited:
#2
7zip is a little faster, taking 35.1 seconds to compress 980 text files totalling 113MB down to 13MB. However, it is still not as fast (or efficient) as 7z which took 9.9 seconds to compress the same files down to 168KB.

Code:
0:00:00.102
[C:\tmp]
10:05:25 $ 7zip /q test.7z *.txt

0:00:35.136
[C:\tmp]
10:06:26 $ \bin\7-ZipPortable\App\7-Zip\7z.exe a test2.7z *.txt

7-Zip [32] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04

Scanning the drive:
980 files, 113795824 bytes (109 MiB)

Creating archive: test2.7z

Items to compress: 980


Files read from disk: 980
Archive size: 168360 bytes (165 KiB)
Everything is Ok

0:00:09.912
[C:\tmp]
10:07:17 $ dir *.7z

 Volume in drive C is unlabeled      Serial number is 262b:d729
 Directory of  C:\tmp\*.7z

 3/04/2015  10:59          91,905  2014.7z
 3/23/2017  10:06      13,349,803  test.7z
 3/23/2017  10:07         168,360  test2.7z
          13,610,068 bytes in 3 files and 0 dirs    13,619,200 bytes allocated
     110,645,243,904 bytes free
Edit: Even using LZMA2 and max compression level (/k5 /l5), it only gets down to 12MB.

Edit 2: Further testing points at 7ZIP not using (or even having a command line switch to use) "solid" archives.
 
Last edited: