aboutsummaryrefslogtreecommitdiff
path: root/lib/std/hash/benchmark.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-02-01 11:32:53 +0100
committerLemonBoy <thatlemon@gmail.com>2020-02-01 11:32:53 +0100
commit3640c682a2ed8a0f554224936a3c634215543ffe (patch)
treed15c5f7fdb73c3ef71d691a7b9e7cd60104cb59f /lib/std/hash/benchmark.zig
parent8309ee875236b9fd2fb80482010464e218173c4c (diff)
downloadzig-3640c682a2ed8a0f554224936a3c634215543ffe.tar.gz
zig-3640c682a2ed8a0f554224936a3c634215543ffe.zip
Run `zig fmt`
Diffstat (limited to 'lib/std/hash/benchmark.zig')
-rw-r--r--lib/std/hash/benchmark.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/hash/benchmark.zig b/lib/std/hash/benchmark.zig
index c792013e06..ed1bab9d87 100644
--- a/lib/std/hash/benchmark.zig
+++ b/lib/std/hash/benchmark.zig
@@ -250,13 +250,13 @@ pub fn main() !void {
if (H.has_iterative_api) {
prng.seed(seed);
const result = try benchmarkHash(H, count);
- try stdout.print(" iterative: {:4} MiB/s [{x:0<16}]\n", .{result.throughput / (1 * MiB), result.hash});
+ try stdout.print(" iterative: {:4} MiB/s [{x:0<16}]\n", .{ result.throughput / (1 * MiB), result.hash });
}
if (!test_iterative_only) {
prng.seed(seed);
const result_small = try benchmarkHashSmallKeys(H, key_size, count);
- try stdout.print(" small keys: {:4} MiB/s [{x:0<16}]\n", .{result_small.throughput / (1 * MiB), result_small.hash});
+ try stdout.print(" small keys: {:4} MiB/s [{x:0<16}]\n", .{ result_small.throughput / (1 * MiB), result_small.hash });
}
}
}