mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
minor display improvement in fuzzer when nb of tests is very large
This commit is contained in:
7
NEWS
7
NEWS
@ -2,9 +2,10 @@ v1.1.1
|
|||||||
New : command -M#, --memory=, --memlimit=, --memlimit-decompress= to limit allowed memory consumption
|
New : command -M#, --memory=, --memlimit=, --memlimit-decompress= to limit allowed memory consumption
|
||||||
New : doc/zstd_manual.html, by Przemyslaw Skibinski
|
New : doc/zstd_manual.html, by Przemyslaw Skibinski
|
||||||
Improved : slightly better compression ratio at --ultra levels (>= 20)
|
Improved : slightly better compression ratio at --ultra levels (>= 20)
|
||||||
Added : ZSTD_initCStream_usingCDict(), ZSTD_initDStream_usingDDict() (experimental section)
|
Improved : better memory usage when using streaming compression API, thanks to @Rogier-5 report
|
||||||
Added : example/multiple_streaming_compression
|
Added : API : ZSTD_initCStream_usingCDict(), ZSTD_initDStream_usingDDict() (experimental section)
|
||||||
Changed : zstd_errors.h is now part of include installation
|
Added : example/multiple_streaming_compression.c
|
||||||
|
Changed : zstd_errors.h is now installed within /include (and replaces errors_public.h)
|
||||||
Updated man page
|
Updated man page
|
||||||
Fixed : zstd-small, zstd-compress and zstd-decompress compilation targets
|
Fixed : zstd-small, zstd-compress and zstd-decompress compilation targets
|
||||||
|
|
||||||
|
@ -523,7 +523,7 @@ static int fuzzerTests(U32 seed, U32 nbTests, unsigned startTest, U32 const maxD
|
|||||||
|
|
||||||
/* notification */
|
/* notification */
|
||||||
if (nbTests >= testNb) { DISPLAYUPDATE(2, "\r%6u/%6u ", testNb, nbTests); }
|
if (nbTests >= testNb) { DISPLAYUPDATE(2, "\r%6u/%6u ", testNb, nbTests); }
|
||||||
else { DISPLAYUPDATE(2, "\r%6u ", testNb); }
|
else { DISPLAYUPDATE(2, "\r%6u ", testNb); }
|
||||||
|
|
||||||
FUZ_rand(&coreSeed);
|
FUZ_rand(&coreSeed);
|
||||||
{ U32 const prime1 = 2654435761U; lseed = coreSeed ^ prime1; }
|
{ U32 const prime1 = 2654435761U; lseed = coreSeed ^ prime1; }
|
||||||
|
@ -452,8 +452,8 @@ static int fuzzerTests(U32 seed, U32 nbTests, unsigned startTest, double compres
|
|||||||
size_t maxTestSize;
|
size_t maxTestSize;
|
||||||
|
|
||||||
/* init */
|
/* init */
|
||||||
DISPLAYUPDATE(2, "\r%6u", testNb);
|
if (nbTests >= testNb) { DISPLAYUPDATE(2, "\r%6u/%6u ", testNb, nbTests); }
|
||||||
if (nbTests >= testNb) DISPLAYUPDATE(2, "/%6u ", nbTests);
|
else { DISPLAYUPDATE(2, "\r%6u ", testNb); }
|
||||||
FUZ_rand(&coreSeed);
|
FUZ_rand(&coreSeed);
|
||||||
lseed = coreSeed ^ prime1;
|
lseed = coreSeed ^ prime1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user