- Nov 28, 2018
- Nov 27, 2018
-
-
Yann Collet authored
Update meson build system
-
Lzu Tao authored
NOTE: This commit only tested on Linux (Ubuntu 18.04). Windows build may not work as expected. * Use meson >= 0.47.0 cause we use install_man function * Add three helper Python script: * CopyFile.py: To copy file * CreateSymlink.py: To make symlink (both Windows and Unix) * GetZstdLibraryVersion.py: Parse lib/zstd.h to get zstd version These help emulating equivalent functions in CMake and Makefile. * Use subdir from meson to split meson.build * Add contrib build * Fix other build * Add new build options * build_programs: Enable programs build * build_contrib: Enable contrib build * build_tests: Enable tests build * use_static_runtime: Link to static run-time libraries on MSVC * zlib_support: Enable zlib support * lzma_support: Enable lzma support
-
Lzu Tao authored
-
Lzu Tao authored
-
Yann Collet authored
Fix feature detection with multiple -arch flags
-
- Nov 16, 2018
-
-
Nick Terrell authored
Fix i386 build failure "Junk character 13"
-
Ryan Schmidt authored
When multiple -arch flags are used, the compiler invokes itself once for each architecture. Apparently, input on stdin is consumed by the compilation of the first arch and is no longer available to the compilation of the second arch, which results in a build failure and the potentially incorrect determination that a feature is not available. So write the feature detection source to a file instead of using stdin.
-
Ryan Schmidt authored
-
- Nov 15, 2018
-
-
Nick Terrell authored
- Factor out LDM's hash function for reuse - Add rsyncable mode to zstdmt and expose it via the advanced API - Fix `-B`/`--block-size` to actually set the job size - Add rsyncable tests to `zstreamtest` and `playTests.sh` Tested by: ``` > cat A.100MB B.100MB C.100MB D.100MB E.100MB | zstd --rsyncable -fo src/file.zst /*stdin*\ : 48.22% (524288000 => 252837782 bytes, src/file.zst) > rsync -rc --stats src devbigvm:/data/users/terrelln/rsync-test Total bytes sent: 252868779 total size is 252837782 speedup is 1.00 > echo test > test > cat test A.100MB test B.100MB test C.100MB test D.100MB test E.100MB | zstd --rsyncable -fo src/file.zst /*stdin*\ : 48.23% (524288025 => 252838025 bytes, src/unicorn.tar.zst) > rsync -rc --stats src devbigvm:/data/users/terrelln/rsync-test Total bytes sent: 4605696 total size is 252838025 speedup is 53.60 ``` Close #1155.
-
Nick Terrell authored
-
Nick Terrell authored
-
Nick Terrell authored
-
Nick Terrell authored
- Add rsyncable mode to multithreaded mode - Factor out LDM's hash function for reuse
-
- Nov 14, 2018
-
-
Yann Collet authored
Separating benchfn and benchzstd
-
Yann Collet authored
because gcc considers that `void* const *` and `void**` are 2 different types ...
-
- Nov 13, 2018
-
-
Yann Collet authored
-
Yann Collet authored
-
Yann Collet authored
-
Yann Collet authored
-
Yann Collet authored
-
Yann Collet authored
-
Yann Collet authored
to use structure for function parameters as it expresses much clearer than a long list of parameters, since each parameter can now be named.
-
Yann Collet authored
with BMK_extract_returnValue()
-
Yann Collet authored
it shall be possible to use benchfn without any dependency on zstd.
-
Yann Collet authored
Fix #1412: Perform Signed Comparison When Setting Attach Dict Param
-
Yann Collet authored
which is more accurate
-
- Nov 12, 2018
-
-
W. Felix Handte authored
-
W. Felix Handte authored
-
W. Felix Handte authored
-
W. Felix Handte authored
-
W. Felix Handte authored
-
- Nov 09, 2018
-
-
Yann Collet authored
Improves decompression speed when using cold dictionary
-
Yann Collet authored
improve long-range decoder speed
-
Yann Collet authored
by triggering the prefetching decoder path (which used to be dedicated to long-range offsets only). Figures on my laptop : no content prefetch : ~300 MB/s (for reference) full content prefetch : ~325 MB/s (before this patch) new prefetch path : ~375 MB/s (after this patch) The benchmark speed is already significant, but another side-effect is that this version prefetch less data into memory, since it only prefetches what's needed, instead of the full dictionary. This is supposed to help highly active environments such as active databases, that can't be properly measured in benchmark environment (too clean). Also : fixed the largeNbDict test program which was working improperly when setting nbBlocks > nbFiles.
-
- Nov 08, 2018
-
-
Yann Collet authored
Add TSAN dictionary tests
-
Yann Collet authored
one limit case can apparently be generated during fuzzer tests
-
Yann Collet authored
as it was broken and no one noticed
-