Different performance in api and in Application

  • Stefan Menne

    Stefan Menne - 2014-07-15

    I get different results in speed and compression ratio using the 7zip application and using the API's from C#.

    I've compressed with LZMA a single 1.3 GB file and got:

    7Zip File Manager V9.20
             Time:   10:47         File size:    54.646.561
    SevenZipSharp.dll + 7z.dll(V9.20)
             Time:   32:13         File size:   104.450.490
    LZMA SDK V9.22
             Time:   13:56         File size:    89.930.991

    Any idea why there are so huge differences? Is it possible to achieve the performance of the Application also with an API?

  • Igor Pavlov

    Igor Pavlov - 2014-07-15

    Maybe the dictionary size was larger.

  • Stefan Menne

    Stefan Menne - 2014-07-17

    Yes, thanks. When i set the dictionary size to 64MB i get the same file size.


Log in to post a comment.