• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

cmake_unofficial/22-Nov-2023-8365

examples/22-Nov-2023-949652

images/22-Nov-2023-

lib/22-Nov-2023-5,5053,389

programs/22-Nov-2023-5,3993,832

.gitD01-Jan-19700

.gitattributesD22-Nov-2023179 118

.travis.ymlD22-Nov-2023694 2724

Android.mkD22-Nov-2023133 62

LICENSED22-Nov-20231.3 KiB2420

LZ4_Frame_Format.htmlD22-Nov-202326.9 KiB11

MakefileD22-Nov-20234.2 KiB13778

NEWSD22-Nov-20235.3 KiB134112

README.mdD22-Nov-20232.6 KiB5747

lz4_block_format.txtD22-Nov-20234.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