From f0d6585bb2d8a13d7886d28a6545caa0457b4ca0 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sun, 29 May 2022 01:18:24 +0800 Subject: Prettier benchmark result. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index b6aa680..27f37dd 100644 --- a/main.c +++ b/main.c @@ -292,7 +292,7 @@ void benchmark() { const int threads[] = {1, 2, 4, 8, 16, 32, 0}; for (int i = 0; threads[i] > 0; ++i) { - printf(" %d thread: %.3f sec%s\n", + printf(" %3.d thread: %9.3f sec%s\n", threads[i], (double) KEYSPACE_SIZE / key_per_sec / threads[i], (threads[i] != 1) ? " (estimate)" : ""); } -- cgit v1.2.3