ZIP file uncompress 4x slower then 7zip

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
tester44
Junior Member
Junior Member
Posts: 2
Joined: 2022-09-04, 16:23 UTC

ZIP file uncompress 4x slower then 7zip

Post by *tester44 »

Hi,
Total commander unzips ~4-5x slower then 7zip.
No, its not multithreading (not used during uncompress by 7zip).

We talk about 20s .vs. 90s for ~3GB file, not many files inside.

Would you consider using better optimized library/code for uncompress ?
To be specific - its about Deflate algorithm. Maybe more of them, didn't make comprehensive tests.
Observed on various CPUs of different ages and both brands.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: ZIP file uncompress 4x slower then 7zip

Post by *Horst.Epp »

Why do you insist of using TCs internal zip tools for this ?
Whats the times if you try the same job with the TC Total7zip plugin.
Or if you have 7zip installed with a button like this:

Code: Select all

TOTALCMD#BAR#DATA
"C:\Program Files\7-Zip\7z.exe"
e  %P%N -o%T
C:\Program Files\7-Zip\7zFM.exe,1
Uncompress with 7zip

0
-1

Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: ZIP file uncompress 4x slower then 7zip

Post by *Hacker »

Horst.Epp,
Why do you insist on not improving TC but instead suggest that all TC users should download a 3rd party plugin?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: ZIP file uncompress 4x slower then 7zip

Post by *jinsight »

Support improving TC instead of using a 3rd party plugin regarding compression software as TC already controls aspects of compression software. Since that cow is already out of the barn why not implement a requested and meaningful improvement all things being equal.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: ZIP file uncompress 4x slower then 7zip

Post by *Horst.Epp »

Hacker wrote: 2022-09-04, 19:02 UTC Horst.Epp,
Why do you insist on not improving TC but instead suggest that all TC users should download a 3rd party plugin?

Roman
Thats my way to solve problems as long as there are no better internal solutions.
No one is forced to follow my suggestions :)
Also improving internal zip will never get in the range of 7zip performance and functions.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
tester44
Junior Member
Junior Member
Posts: 2
Joined: 2022-09-04, 16:23 UTC

Re: ZIP file uncompress 4x slower then 7zip

Post by *tester44 »

@Horst.Epp - thanks for your suggestion. Taken, implemented with one small change:
old
e %P%N -o%T
new
x %P%N -o%T

Of course, internal code improvement would be appreciated, because above solution doesn't work on partial selection from zip file content etc. and the perf. gap is tremendous.
User avatar
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: ZIP file uncompress 4x slower then 7zip

Post by *Hacker »

Horst.Epp,
Thats my way to solve problems as long as there are no better internal solutions.
No one is forced to follow my suggestions
May I then suggest to formulate your suggestions to sound more like suggestions and less like criticisms, perhaps?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: ZIP file uncompress 4x slower then 7zip

Post by *Horst.Epp »

tester44 wrote: 2022-09-05, 08:11 UTC @Horst.Epp - thanks for your suggestion. Taken, implemented with one small change:
old
e %P%N -o%T
new
x %P%N -o%T

Of course, internal code improvement would be appreciated, because above solution doesn't work on partial selection from zip file content etc. and the perf. gap is tremendous.
Thanks, you are right x is better
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply