Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mganss/iisgzip
A command line wrapper around the IIS gzip compression DLL
https://github.com/mganss/iisgzip
cli command-line gzip iis
Last synced: 10 days ago
JSON representation
A command line wrapper around the IIS gzip compression DLL
- Host: GitHub
- URL: https://github.com/mganss/iisgzip
- Owner: mganss
- License: apache-2.0
- Created: 2014-09-09T09:35:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-09T11:54:02.000Z (over 10 years ago)
- Last Synced: 2024-11-10T15:15:32.883Z (2 months ago)
- Topics: cli, command-line, gzip, iis
- Language: C++
- Size: 246 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IisGzip
IisGzip is a command line wrapper around the [gzip compression library](http://msdn.microsoft.com/en-us/library/dd692872.aspx) used by Microsoft IIS.
If you're looking for a way to let IIS compress content using a different compressor, check out [this other project](https://github.com/mganss/ZopfliDll).
## Usage
```
IisGzip.exe [-0..10] [-dPathToDll] < in.txt > out.txt.gz
```Default compression level is 10. Make sure you have IIS installed.
## Performance
Here are a few completely unscientific benchmarks:
Inputgzip 1.4 -97-Zip 9.20 -tgzip -mx=9IisGzip -10Zopfli b87006b (numiterations=15)
enwik8
Size (bytes)100'000'00036'445'24835'102'88435'065'64534'987'671
Savings compared to gzip3.7%3.8%4.0%
Compression Time6.6s89s18s503s
jquery-1.11.1.min.js
Size (bytes)95'78633'08332'19132'35832'091
Savings compared to gzip2.7%2.2%3.0%
Compression Time (100 runs)1.9s9.0s3.0s33sHere's a benchmark of the different compression levels offered by the IIS gzip library:
Compression Level012345678910
jquery-1.11.1.min.js
Compression Time (1000 runs), in s14.614.414.715.015.416.417.517.818.218.528.5
Size (bytes)42'74840'94939'43738'45134'38333'66233'34933'31133'29333'29332'358
Savings compared to level 05%8%11%20%22%22%23%23%23%25%
enwik8
Compression Time (s)1.71.82.12.83.04.56.97.88.48.418.2
Size (bytes)47'524'21443'999'42042'452'50141'284'37638'132'42437'200'50936'667'33336'601'31736'579'17336'578'95335'065'645
Savings compared to level 08%11%14%20%22%23%23%24%24%27%