]> git.ipfire.org Git - thirdparty/zstd.git/commit
improved benchmark experience on Windows 2619/head
authorYann Collet <cyan@fb.com>
Wed, 5 May 2021 23:52:21 +0000 (16:52 -0700)
committerYann Collet <cyan@fb.com>
Wed, 5 May 2021 23:52:21 +0000 (16:52 -0700)
commit9750f3c87b75266b19de572edfcd585f9bffdee6
tree2cde3facebfaedc6fc7a3d7ed4f1a4bd6c99b922
parentb062d975206c1c52ab9606b4ff850fa3a25754f2
improved benchmark experience on Windows

benchmark results are not progressively displayed on Windows terminal.
For long benchmark sessions, nothing is displayed,
until the end, where everything is flushed.

Force display to be flushed after each update.
Updates happen roughtly every second, or even less,
so it's not a substantial workload.
programs/benchzstd.c