קובץ:Benchmark common compression formats - Compressing speed.svg

תוכן הדף אינו נתמך בשפות אחרות.
מתוך ויקיפדיה, האנציקלופדיה החופשית

לקובץ המקורי(קובץ SVG, הגודל המקורי: 600 × 480 פיקסלים, גודל הקובץ: 10 ק"ב)

ויקישיתוף זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה.

תקציר

תיאור
English: This is a comparison of popular compression formats by how many nanoseconds it takes to compress each format. The horizontal scale shows number or paragraphs containing random lorem ipsum text
תאריך יצירה
מקור נוצר על־ידי מעלה היצירה
יוצר AzaToth

Following script was used to make the plots. They where run on a mounted tmpfs dir:

#!/bin/bash

rm -f *.compress *.decompress *.factor
for testnum in $(seq 0 500 10000); do
	lorem -p $testnum > data
    for archiver in bzip2 lzma xz gzip lzip lzop lrzip; do
		case $archiver in 
			bzip2)
				suffix=bz2;;
			lzma) 
				suffix=lzma;;
			xz)
				suffix=xz;;
			gzip)
				suffix=gz;;
			lzip)
				suffix=lz;;
			lzop)
				suffix=lzo;;
			lrzip)
				suffix=lrz;;
		esac

		cp data current-$testnum
		s1=$(stat -c %s current-$testnum)

        c=$(date +%s%N)
        $archiver current-$testnum
        d=$(date +%s%N)
        total=$(echo $d-$c | bc)
        echo "$testnum $total" >> $archiver.compress

		s2=$(stat -c %s current-$testnum.$suffix)
		factor=$(echo "scale=10;$s1/$s2" | bc)
        echo "$testnum $factor" >> $archiver.factor

		rm -f current-$testnum

        c=$(date +%s%N)
		$archiver -d current-$testnum.$suffix
        d=$(date +%s%N)
        total=$(echo $d-$c | bc)
        echo "$testnum $total" >> $archiver.decompress

		rm -f current*
		rm -f *.bz2 *.lzma *.gz *.xz *.lzo *.lz *.lrz
    done

done
gnuplot <(echo "set terminal svg;set ylabel 'Time (nanoseconds)' textcolor lt 1; set xlabel 'Size (Number of paragraphs of random lorem ipsum text)' textcolor lt 2;plot 'lzma.compress' title 'lzma' with lines, 'xz.compress' title 'xz' with lines, 'gzip.compress' title 'gzip' with lines, 'lzip.compress' title 'lzip' with lines, 'lzop.compress' title 'lzop' with lines, 'lrzip.compress' title 'lrzip' with lines, 'bzip2.compress' title 'bzip2' with lines") > compress.svg

gnuplot <(echo "set terminal svg;set ylabel 'Time (nanoseconds)' textcolor lt 1; set xlabel 'Size (Number of paragraphs of random lorem ipsum text)' textcolor lt 2;plot 'lzma.decompress' title 'lzma' with lines, 'xz.decompress' title 'xz' with lines, 'gzip.decompress' title 'gzip' with lines, 'lzip.decompress' title 'lzip' with lines, 'lzop.decompress' title 'lzop' with lines, 'lrzip.decompress' title 'lrzip' with lines, 'bzip2.decompress' title 'bzip2' with lines") > decompress.svg

gnuplot <(echo "set terminal svg;set ylabel 'Compression factor' textcolor lt 1; set xlabel 'Size (Number of paragraphs of random lorem ipsum text)' textcolor lt 2;plot 'lzma.factor' title 'lzma' with lines, 'xz.factor' title 'xz' with lines, 'gzip.factor' title 'gzip' with lines, 'lzip.factor' title 'lzip' with lines, 'lzop.factor' title 'lzop' with lines, 'lrzip.factor' title 'lrzip' with lines, 'bzip2.factor' title 'bzip2' with lines") > factor.svg

רישיון

אני, בעל זכויות היוצרים על עבודה זו, מפרסם בזאת את העבודה תחת הרישיון הבא:
Creative Commons CC-Zero קובץ זה זמין לפי תנאי הקדשה עולמית לנחלת הכלל CC0 1.0 של Creative Commons.
האדם ששייך יצירה להיתר הזה הקדיש את היצירה לנחלת הכלל על־ידי ויתור על כל הזכויות שלו או שלה על היצירה בכל העולם לפי חוק זכויות יוצרים, לרבות כל הזכויות הקשורות או הסמוכות כקבוע בחוק. באפשרותך להעתיק, לשנות, להפיץ, או להציג את היצירה, אפילו למטרות מסחריות, וכל זה אפילו מבלי לבקש רשות.

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

image/svg+xml

checksum אנגלית

6b2c83b426f72a4eda5f120d2fe84c0ca23526e9

הוגדר לפי: SHA-1 אנגלית

10,579 בית

480 פיקסל

600 פיקסל

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית03:55, 7 בספטמבר 2011תמונה ממוזערת לגרסה מ־03:55, 7 בספטמבר 2011‪480 × 600‬ (10 ק"ב)AzaToth

אין בוויקיפדיה דפים המשתמשים בקובץ זה.

מטא־נתונים