odd PercentDelta

Apr 3, 2010 at 11:38 PM
Edited Apr 3, 2010 at 11:45 PM


first i would like to thank you for your work.

When i use your TestForm (or mine) i give a directory with only a file, the Percent Delta in the compressing Event is odd:

the first time the event is raised, the percentdelta is already at 81.

after about 15 second, a second event is raised, the percentdelta is 19.

the file is 32,0 Mo (33 554 432 octets).

I don't understand why there is only 2 Event raised, and why it start at 81%.

With a different file (128 Mo (134 217 728 octets))

1st event : 20

2nd to 12th event :  7

13th event : 2

is it because the first file is smaller ?


Apr 4, 2010 at 9:55 PM

Obviously, Sevenzip load into memory around 26Mo (32Mo*81/100)

So the percentDelta is "normal"


May i ask why, when i use 7za.exe, it shows me 1%, 2%...

Why can't we have the same thing ?

Apr 12, 2010 at 5:17 PM

Compressing event is the most presice as it indicates the amount of bytes read (or written, I don't remember for sure). FileCompressionStarted/Finished indicate the amount of files read and have nothing in common with Compressing progress. Consider to use an other event instead of the odd one.