summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bench.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench.c b/bench.c
index 1317adf..3f77d8d 100644
--- a/bench.c
+++ b/bench.c
@@ -23,6 +23,8 @@ int main()
{
struct timespec start, stop;
+ setvbuf(stdout, NULL, _IONBF, 0);
+
printf("%-*s ", SORT_WIDTH, "");
for (const struct testcase *t = testcases; t->name; t++)
printf("%*s ", TEST_WIDTH, t->name);