aboutsummaryrefslogtreecommitdiff
path: root/archival/bzip2.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-09-10 13:25:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-09-10 13:25:57 +0200
commit522041ee7b10ac544b90c6a8d1d4fbf8a5d39c6d (patch)
tree412854af83f841f564faf842ca6cefc12a016236 /archival/bzip2.c
parent202a1b9284fd763e81340050d228103aef999675 (diff)
downloadbusybox-w32-522041ee7b10ac544b90c6a8d1d4fbf8a5d39c6d.tar.gz
busybox-w32-522041ee7b10ac544b90c6a8d1d4fbf8a5d39c6d.tar.bz2
busybox-w32-522041ee7b10ac544b90c6a8d1d4fbf8a5d39c6d.zip
regularize options which control size/speed trade
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/bzip2.c')
-rw-r--r--archival/bzip2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/bzip2.c b/archival/bzip2.c
index e39d7f704..3dde970f1 100644
--- a/archival/bzip2.c
+++ b/archival/bzip2.c
@@ -19,7 +19,7 @@
19#include "libbb.h" 19#include "libbb.h"
20#include "archive.h" 20#include "archive.h"
21 21
22#define CONFIG_BZIP2_FEATURE_SPEED 1 22#define CONFIG_BZIP2_FAST 1
23 23
24/* Speed test: 24/* Speed test:
25 * Compiled with gcc 4.2.1, run on Athlon 64 1800 MHz (512K L2 cache). 25 * Compiled with gcc 4.2.1, run on Athlon 64 1800 MHz (512K L2 cache).
@@ -27,7 +27,7 @@
27 * (time to compress gcc-4.2.1.tar is 126.4% compared to bbox). 27 * (time to compress gcc-4.2.1.tar is 126.4% compared to bbox).
28 * At SPEED 5 difference is 32.7%. 28 * At SPEED 5 difference is 32.7%.
29 * 29 *
30 * Test run of all CONFIG_BZIP2_FEATURE_SPEED values on a 11Mb text file: 30 * Test run of all CONFIG_BZIP2_FAST values on a 11Mb text file:
31 * Size Time (3 runs) 31 * Size Time (3 runs)
32 * 0: 10828 4.145 4.146 4.148 32 * 0: 10828 4.145 4.146 4.148
33 * 1: 11097 3.845 3.860 3.861 33 * 1: 11097 3.845 3.860 3.861