File:Decompression-bench.svg
Original file (SVG file, nominally 600 × 480 pixels, file size: 32 KB)
Captions
Summary
[edit]DescriptionDecompression-bench.svg |
English: This is a comparison of popular compression formats by how many nanoseconds it takes to compress each format. The horizontal scale shows tens of kilobytes.
To recreate run this on a Linux computer: for testnum in $(seq 0 256); do testnum=$(expr $testnum '*' 10) for archiver in bzip2 lzma xz gzip lzip lzop lrzip; do dd if=/dev/zero of=$testnum.zero bs="$testnum"'k' count=1 $archiver $testnum.zero rm $testnum.zero c=$(date +%s%N) $archiver -d $testnum.zero.* d=$(date +%s%N) total=$(echo $d-$c | bc) echo $total >> $archiver rm $testnum.zero *.bz2 *.lzma *.gz *.xz *.lzo *.lz *.lrz done done gnuplot <(echo "set terminal svg;set ylabel 'Time (nanoseconds)' textcolor lt 1; set xlabel 'Size (tens of kilobytes)' textcolor lt 2;plot 'lzma' with lines, 'xz' with lines, 'gzip' with lines, 'lzip' with lines, 'lzop' with lines, 'lrzip' with lines, 'bzip2' with lines") > test.svg rm gzip lrzip lzip lzma lzop xz bzip2 |
Date | |
Source | Own work |
Author | Shnatsel |
Other versions | Benchmark of compression time |
Licensing
[edit]This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 09:53, 10 July 2011 | 600 × 480 (32 KB) | Shnatsel (talk | contribs) | re-generated the file using the updated script | |
09:03, 1 July 2011 | 600 × 480 (31 KB) | Shnatsel (talk | contribs) | {{Information |Description ={{en|1=This is a comparison of popular compression formats by how many nanoseconds it takes to compress each format. The horizontal scale shows tens of kilobytes. To recreate run this on a Linux computer: <pre>for testnum |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Image title | Produced by GNUPLOT 4.4 patchlevel 0 |
---|