• Home
Name Date Size #Lines LOC

..--

cmake_unofficial/03-May-2024-8365

examples/03-May-2024-949652

images/03-May-2024-

lib/03-May-2024-5,5053,389

programs/03-May-2024-5,3993,832

.gitattributesD03-May-2024179 118

.travis.ymlD03-May-2024694 2724

Android.mkD03-May-2024133 62

LICENSED03-May-20241.3 KiB2420

LZ4_Frame_Format.htmlD03-May-202426.9 KiB11

MakefileD03-May-20244.2 KiB13778

NEWSD03-May-20245.3 KiB134112

README.mdD03-May-20242.6 KiB5747

lz4_block_format.txtD03-May-20244.7 KiB12188

README.md

1LZ4 - Extremely fast compression
2================================
3
4LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.
5A high compression derivative, called LZ4_HC, is also provided. It trades CPU time for compression ratio.
6
7|Branch      |Status   |
8|------------|---------|
9|master      | [![Build Status](https://travis-ci.org/Cyan4973/lz4.svg?branch=master)](https://travis-ci.org/Cyan4973/lz4) |
10|dev         | [![Build Status](https://travis-ci.org/Cyan4973/lz4.svg?branch=dev)](https://travis-ci.org/Cyan4973/lz4) |
11
12This is an official mirror of LZ4 project, [hosted on Google Code](http://code.google.com/p/lz4/).
13The intention is to offer github's capabilities to lz4 users, such as cloning, branch, pull requests or source download.
14
15The "master" branch will reflect, the status of lz4 at its official homepage.
16The "dev" branch is the one where all contributions will be merged. If you plan to propose a patch, please commit into the "dev" branch. Direct commit to "master" are not permitted.
17Feature branches will also exist, typically to introduce new requirements, and be temporarily available for testing before merge into "dev" branch.
18
19
20Benchmarks
21-------------------------
22
23The benchmark uses the [Open-Source Benchmark program by m^2 (v0.14.2)](http://encode.ru/threads/1371-Filesystem-benchmark?p=33548&viewfull=1#post33548) compiled with GCC v4.6.1 on Linux Ubuntu 64-bits v11.10,
24The reference system uses a Core i5-3340M @2.7GHz.
25Benchmark evaluates the compression of reference [Silesia Corpus](http://sun.aei.polsl.pl/~sdeor/index.php?page=silesia) in single-thread mode.
26
27<table>
28  <tr>
29    <th>Compressor</th><th>Ratio</th><th>Compression</th><th>Decompression</th>
30  </tr>
31  <tr>
32    <th>LZ4 (r101)</th><th>2.084</th><th>422 MB/s</th><th>1820 MB/s</th>
33  </tr>
34  <tr>
35    <th>LZO 2.06</th><th>2.106</th><th>414 MB/s</th><th>600 MB/s</th>
36  </tr>
37  <tr>
38    <th>QuickLZ 1.5.1b6</th><th>2.237</th><th>373 MB/s</th><th>420 MB/s</th>
39  </tr>
40  <tr>
41    <th>Snappy 1.1.0</th><th>2.091</th><th>323 MB/s</th><th>1070 MB/s</th>
42  </tr>
43  <tr>
44    <th>LZF</th><th>2.077</th><th>270 MB/s</th><th>570 MB/s</th>
45  </tr>
46  <tr>
47    <th>zlib 1.2.8 -1</th><th>2.730</th><th>65 MB/s</th><th>280 MB/s</th>
48  </tr>
49  <tr>
50    <th>LZ4 HC (r101)</th><th>2.720</th><th>25 MB/s</th><th>2080 MB/s</th>
51  </tr>
52  <tr>
53    <th>zlib 1.2.8 -6</th><th>3.099</th><th>21 MB/s</th><th>300 MB/s</th>
54  </tr>
55</table>
56
57