Skip to content

Commit

Permalink
Merge pull request #4146 from facebook/dictBench_Doc
Browse files Browse the repository at this point in the history
update documentation: specify that Dictionary can be used for benchmark
  • Loading branch information
Cyan4973 authored Sep 27, 2024
2 parents d2212c6 + 039f404 commit 984d11a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions programs/zstd.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
* `-B#`, `--block-size=#`:
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`:
set process priority to real-time (Windows)

Expand Down
2 changes: 1 addition & 1 deletion programs/zstdcli.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <stdlib.h> /* getenv */
#include <string.h> /* strcmp, strlen */
#include <stdio.h> /* fprintf(), stdin, stdout, stderr */
#include <errno.h> /* errno */
#include <assert.h> /* assert */

#include "fileio.h" /* stdinmark, stdoutmark, ZSTD_EXTENSION */
Expand Down Expand Up @@ -311,6 +310,7 @@ static void usageAdvanced(const char* programName)
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(" -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");
#endif

Expand Down

0 comments on commit 984d11a

Please sign in to comment.