Edit page memo/benchmark/compression
[wiki.git] / memo / benchmark / compression
index 32e75fbf5ccff95c38e90a4a6bb766e6bfe7bd56..830d93dc214af665f50f1e41877954a02fa7d84b 100644 (file)
@@ -1,14 +1,16 @@
-== Crude CPU benchmarks ==
-
-=== Lossless compression algorithms ===
+== A crude CPU benchmark using lossless compression algorithms ==
 
 {{{
-time lzop  >/dev/null <file
-time gzip  >/dev/null <file
-time bzip2 >/dev/null <file
-time xz    >/dev/null <file
+time lzop  &gt;/dev/null &lt;testfile
+time gzip  &gt;/dev/null &lt;testfile
+time bzip2 &gt;/dev/null &lt;testfile
+time xz    &gt;/dev/null &lt;testfile
 }}}
 
+"testfile" is a 175MB avi (southpark_12x12_about_last_night.avi). It's not really compressible, which helps level the ground.
+
+=== Results ===
+
 || **Hostname** || **System**     || ** CPU Brand**              || **CPU** ||**Clock**||**Arch**||
 || giskard-x201 || Lenovo x201    || Intel(R) Core(TM) i7 CPU    ||   M 620 || 2.67GHz || x86_64 ||
 || istek        || Lenovo x201    || Intel(R) Core(TM) i5 CPU    ||   M 540 || 2.53GHz || x86_64 ||
@@ -58,10 +60,8 @@ time xz    >/dev/null <file
 || giskard      ||        ||        ||         ||         ||   4.442 ||        ||
 
 ==== Notes ====
- * test file is a 175MB avi (southpark_12x12_about_last_night.avi)
  * all targets using 1 core only!
  * The MB/s figure refers to trinity
  * "index" is xz compression performance relative to trinity
  * bender and trinity run same lzma version
- * is xz faster or slower than lzma?
-
+ * is xz faster or slower than lzma?
\ No newline at end of file