1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

update documentation to specify that Dictionary can be used for benchmark

fix #4139
This commit is contained in:
Yann Collet
2024-09-25 16:56:01 -07:00
parent bc96d4b077
commit 039f404faa
2 changed files with 5 additions and 1 deletions

View File

@ -674,6 +674,10 @@ Note that the results are highly dependent on the content being compressed.
minimum evaluation time, in seconds (default: 3s), benchmark mode only minimum evaluation time, in seconds (default: 3s), benchmark mode only
* `-B#`, `--block-size=#`: * `-B#`, `--block-size=#`:
cut file(s) into independent chunks of size # (default: no chunking) cut file(s) into independent chunks of size # (default: no chunking)
* `-S`:
output one benchmark result per input file (default: consolidated result)
* `-D dictionary`
benchmark using dictionary
* `--priority=rt`: * `--priority=rt`:
set process priority to real-time (Windows) set process priority to real-time (Windows)

View File

@ -32,7 +32,6 @@
#include <stdlib.h> /* getenv */ #include <stdlib.h> /* getenv */
#include <string.h> /* strcmp, strlen */ #include <string.h> /* strcmp, strlen */
#include <stdio.h> /* fprintf(), stdin, stdout, stderr */ #include <stdio.h> /* fprintf(), stdin, stdout, stderr */
#include <errno.h> /* errno */
#include <assert.h> /* assert */ #include <assert.h> /* assert */
#include "fileio.h" /* stdinmark, stdoutmark, ZSTD_EXTENSION */ #include "fileio.h" /* stdinmark, stdoutmark, ZSTD_EXTENSION */
@ -311,6 +310,7 @@ static void usageAdvanced(const char* programName)
DISPLAYOUT(" -i# Set the minimum evaluation to time # seconds. [Default: 3]\n"); DISPLAYOUT(" -i# Set the minimum evaluation to time # seconds. [Default: 3]\n");
DISPLAYOUT(" -B# Cut file into independent chunks of size #. [Default: No chunking]\n"); DISPLAYOUT(" -B# Cut file into independent chunks of size #. [Default: No chunking]\n");
DISPLAYOUT(" -S Output one benchmark result per input file. [Default: Consolidated result]\n"); DISPLAYOUT(" -S Output one benchmark result per input file. [Default: Consolidated result]\n");
DISPLAYOUT(" -D dictionary Benchmark using dictionary \n");
DISPLAYOUT(" --priority=rt Set process priority to real-time.\n"); DISPLAYOUT(" --priority=rt Set process priority to real-time.\n");
#endif #endif