File:Comparison of Time Popular Compression Formats.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 600 × 480 pixels. Other resolutions: 300 × 240 pixels | 960 × 768 pixels | 1,280 × 1,024 pixels | 2,560 × 2,048 pixels.
Original file (SVG file, nominally 600 × 480 pixels, file size: 32 KB)
File information
Structured data
Captions
Summary[edit]
DescriptionComparison of Time Popular Compression Formats.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 1 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 c=$(date +%s%N) $archiver $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 | (was created using GNUPlot) |
Author | Mjbauer95, Shnatsel |
Other versions | Decompression time benchmark |
Licensing[edit]
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 08:32, 10 July 2011 | 600 × 480 (32 KB) | Shnatsel (talk | contribs) | re-generated the file using the updated script | |
23:05, 30 June 2011 | 600 × 480 (32 KB) | Shnatsel (talk | contribs) | Reverted to version as of 16:09, 30 June 2011 | ||
22:57, 30 June 2011 | 600 × 480 (32 KB) | Shnatsel (talk | contribs) | made various archivers use exactly the same input data | ||
16:09, 30 June 2011 | 600 × 480 (32 KB) | Shnatsel (talk | contribs) | increased size range of data samples | ||
15:12, 30 June 2011 | 600 × 480 (32 KB) | Shnatsel (talk | contribs) | Improved the script for more accurate benchmarking and added lots of new archivers | ||
21:41, 20 October 2009 | 600 × 480 (17 KB) | Mjbauer95 (talk | contribs) | {{Information |Description={{en|1=This is a comparison of popular compresss formats (lzma, gzip, and bzip2) by how many nanoseconds it takes to compress each format. To recreate run this on a Linux computer: for a in bzip2 lzma gzip;do echo -n>$a;for b |
You cannot overwrite this file.
File usage on Commons
There are no pages that 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 |
---|
Structured data
Items portrayed in this file
depicts
30 June 2011
image/svg+xml
cae24112e144509a8efc35af2403652c7f58b79b
32,710 byte
480 pixel
600 pixel
Hidden categories: