summaryrefslogtreecommitdiffstats
path: root/bench.c
Commit message (Collapse)AuthorAgeFilesLines
* lz4.c no longer depends on lz4_decoder.h (removed)yann.collet.73@gmail.com2013-06-101-8/+8
| | | | | | | | | | | Decompression speed improved under GCC Improved speed of LZ4_decompress_safe_partial() Added new utility : fullbench Modified x64 detection macro, as suggested by David Karner Improved Fuzzer tool Updated xxHash to r30 git-svn-id: https://lz4.googlecode.com/svn/trunk@97 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* New experimental mode : compress blocks using data from previous blocks ↵yann.collet.73@gmail.com2013-05-271-5/+5
| | | | | | | | | | | (option -BD) (limitation : -hc mode only) Changed deprecated function names to "static", in order to avoid duplicate definition. Thanks Maciej Adamczyk for reporting. Changed a few command line options Prettify help text git-svn-id: https://lz4.googlecode.com/svn/trunk@96 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* lz4c : automatic output name when decoding a *.lz4 file, as requested by ↵yann.collet.73@gmail.com2013-05-171-193/+193
| | | | | | | | | | | | | | | Peter Humphreys Cleaner C99 detection, thanks to Elad Modified Basic Types, as recommended by Wayne Scott Simplified compression function Corrected : warning on missing #undef in lz4hc, thanks Arseny Kapoulkine Modified length loops as suggested by Wouter Vermaelen Modified pragma pack directive for older versions of GCC, as reported by Peter Costello Updated xxHash to r29 Indent lz4hc.c with spaces git-svn-id: https://lz4.googlecode.com/svn/trunk@95 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* - New naming : LZ4_decompress_safe() and LZ4_decompress_fast()yann.collet.73@gmail.com2013-04-261-101/+58
| | | | | | | | | | - New function : LZ4_decompress_safe_partial(), to decompress just enough data within a compressed block, saving CPU cycles - New source files : lz4_decoder.h, lz4_encoder.h, lz4hc_encoder.h - Improved speed of LZ4_decompress_fast() - Improved speed for compression of small blocks < 64KB - Improved speed for HC compression git-svn-id: https://lz4.googlecode.com/svn/trunk@94 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : LZ4 Streaming Format specification (v1.3)yann.collet.73@gmail.com2013-04-131-3/+3
| | | | | | | | | | Added : LZ4c command-line utility, supporting the new streaming format Added : xxhash library Removed : lz4demo is now replaced by lz4.c Removed : a few level 4 warnings (issue 64) Updated : makefiles git-svn-id: https://lz4.googlecode.com/svn/trunk@92 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* - New cmake file, by Nobuhiro Iwamatsu, which can also produce shared and ↵yann.collet.73@gmail.com2013-03-021-1/+2
| | | | | | | | | | static libraries. - Improved decoding speed, even more for 64-bits, and "safe" version - Slight speed increase for LZ4-HC - Pushed a useless parameter down the list in lz4.c git-svn-id: https://lz4.googlecode.com/svn/trunk@90 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* LZ4HC : compression speed improved under Visualyann.collet.73@gmail.com2013-01-081-0/+7
| | | | | | Bench mode : option to pause at the end git-svn-id: https://lz4.googlecode.com/svn/trunk@88 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* LZ4 HC : extended detection window. Thanks to Adrien Grand.yann.collet.73@gmail.com2012-11-301-1/+1
| | | | | | | | | Fuzzer : more tests cases lz4demo : detect write errors. Thanks to Dima Tisnek bench.c : compatibility with Solaris 64. Thanks to Thorbjørn Willoch LZ4_compressBound() : now both in inline function and macro format. Thanks to Jacob Gorm Hansen git-svn-id: https://lz4.googlecode.com/svn/trunk@84 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Corrected issue 38 : bench.c compilation for Sun Solaris 32 bitsyann.collet.73@gmail.com2012-11-031-4/+9
| | | | | | | Corrected issue 40 : Detect early ending of compressed stream. Thanks Adrian Grand. Corrected issue 41 : minor comment editing on lz4.h git-svn-id: https://lz4.googlecode.com/svn/trunk@82 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Corrected issue 39 : bench.c for NetBSD. Thanks to Thomas Klausner.yann.collet.73@gmail.com2012-10-271-8/+32
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@81 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Fixed Visual 2005 issues (warning/linking)yann.collet.73@gmail.com2012-08-131-6/+7
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@75 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Fixed : small compression speed hit on GCC v4.5 introduced by r71yann.collet.73@gmail.com2012-08-011-4/+4
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@72 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : LZ4 HC : Now integrated into main trunk.yann.collet.73@gmail.com2012-05-131-0/+7
| | | | | | LZ4_HC license moved to BSD git-svn-id: https://lz4.googlecode.com/svn/trunk@66 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : LZ4Demo : can handle appended compressed streams.yann.collet.73@gmail.com2012-05-121-0/+2
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@65 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : cmake configuration file, from Dmitry Cherepanovyann.collet.73@gmail.com2012-04-081-7/+7
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@62 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* minor code refactoring, mostly around __builtin_expectyann.collet.73@gmail.com2012-03-091-12/+37
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@59 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Small speed improvement (compression & decompression), Thanks Maciej ↵yann.collet.73@gmail.com2012-03-011-3/+4
| | | | | | | | Adamczyk for suggestion Fixed : LZ4_uncompress_unknownOutputSize(), now protected against a malicious attack type, where a crafted input deliberately attempts to make it read outside of input buffer. Thanks Steinar H. Gunderson for report. git-svn-id: https://lz4.googlecode.com/svn/trunk@58 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Corrected : default to Software Bit Count for GCC earlier than 3.4. Thanks ↵yann.collet.73@gmail.com2012-02-201-30/+73
| | | | | | | | | | to Gray. Corrected : ARM compilation under Visual Studio : now generates cautious code, like GCC, to ensure compatibility with strict-align CPUs. Thanks to Joe WoodBury. Minor : bench.c : Hash verification changed to MurmurHash3A Minor : bench.c : selectable block size git-svn-id: https://lz4.googlecode.com/svn/trunk@56 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : LZ4_compressBound() functionyann.collet.73@gmail.com2012-02-161-25/+33
| | | | | | | | corrected : bench.c now correctly detects file size on a wider ranger of compilers; thanks to Erik Andersen minor : removed warnings on undefined (-Wundef on gcc), thanks David Sterba for suggestion git-svn-id: https://lz4.googlecode.com/svn/trunk@55 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* minor interface modification : source pointers are now (const char*)yann.collet.73@gmail.com2012-02-011-2/+2
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@53 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Better detection of Big-Endian and PowerPC CPUyann.collet.73@gmail.com2012-02-011-8/+8
| | | | | | LZ4Demo : correction : produces compatible streams on both big-endian and little-endian systems git-svn-id: https://lz4.googlecode.com/svn/trunk@52 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Improved compression speed for 64-bit CPUyann.collet.73@gmail.com2012-01-131-0/+1
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@49 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : benchmark function within command-line utilityyann.collet.73@gmail.com2012-01-081-0/+352
git-svn-id: https://lz4.googlecode.com/svn/trunk@46 650e7d94-2a16-8b24-b05c-7c0b3f6821cd