Introduce multi thread into nsis compression

let’s continue the previous topic, and continue improving nsis for better delivery experience.

image (1)

We can see from the graph, users have to download an extra 1.39GB when we switch to lz4 from lzma(actually, if we use lzma, users have to download 6.9GB because users may start updating before patch is ready).

By using multi thread in nsis, the total prepare time can be reduced significantly, while the compression ratio is not affected a lot.

image (3)

image (2)

screensnapshotBest of all, the multi thread logic doesn’t affect the decompression speed.


One thought on “Introduce multi thread into nsis compression

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s