Friday October 2nd

Thursday October 1st

Compression and performance - GZip vs. Deflate

First I tested the GZipStream and then the DeflateStream. I expected a minor difference because the two compression methods are different, but the result astonished me. I measured the DeflateStream to 41% faster than GZip.


As the blog comments point out, this is not a useful test as it doesn't use data that has similar structure to the real world. It also tests the speed of compression when it would be more useful to test the compression rate, we are trying to reduce the payload after all.

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network