]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
specify nb of threads used during benchmarking
authorYann Collet <cyan@fb.com>
Tue, 2 Sep 2025 22:53:45 +0000 (15:53 -0700)
committerYann Collet <cyan@fb.com>
Tue, 2 Sep 2025 22:53:45 +0000 (15:53 -0700)
used to require `-v` (verbose) modifier

programs/zstdcli.c

index 142fc4c53c5413f0d98019169f34ef697fd86bca..e44384ea1b5fb5720ae04835a3c99a8f95336700 100644 (file)
@@ -1435,7 +1435,7 @@ int main(int argCount, const char* argv[])
         if (cLevel > ZSTD_maxCLevel()) cLevel = ZSTD_maxCLevel();
         if (cLevelLast > ZSTD_maxCLevel()) cLevelLast = ZSTD_maxCLevel();
         if (cLevelLast < cLevel) cLevelLast = cLevel;
-        DISPLAYLEVEL(3, "Benchmarking ");
+        DISPLAYLEVEL(2, "Benchmarking ");
         if (filenames->tableSize > 1)
             DISPLAYLEVEL(3, "%u files ", (unsigned)filenames->tableSize);
         if (cLevelLast > cLevel) {
@@ -1443,7 +1443,7 @@ int main(int argCount, const char* argv[])
         } else {
             DISPLAYLEVEL(3, "at level %d ", cLevel);
         }
-        DISPLAYLEVEL(3, "using %i threads \n", nbWorkers);
+        DISPLAYLEVEL(2, "using %i threads \n", nbWorkers);
         if (filenames->tableSize > 0) {
             if(separateFiles) {
                 unsigned i;