From 358e631d1a69242d3ae4d6e6b1e4f7581d03133b Mon Sep 17 00:00:00 2001 From: danila-eremin <danila-eremin@yandex-team.ru> Date: Thu, 10 Feb 2022 16:46:21 +0300 Subject: Restoring authorship annotation for <danila-eremin@yandex-team.ru>. Commit 1 of 2. --- library/cpp/digest/md5/bench/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'library/cpp/digest/md5/bench/main.cpp') diff --git a/library/cpp/digest/md5/bench/main.cpp b/library/cpp/digest/md5/bench/main.cpp index 70672e6741..e633a64704 100644 --- a/library/cpp/digest/md5/bench/main.cpp +++ b/library/cpp/digest/md5/bench/main.cpp @@ -1,15 +1,15 @@ -#include <benchmark/benchmark.h> - +#include <benchmark/benchmark.h> + #include <library/cpp/digest/md5/md5.h> #define MD5_DEF(N) \ - static void MD5Benchmark_##N(benchmark::State& st) { \ + static void MD5Benchmark_##N(benchmark::State& st) { \ char buf[N]; \ - for (auto _ : st) { \ + for (auto _ : st) { \ Y_DO_NOT_OPTIMIZE_AWAY(MD5().Update(buf, sizeof(buf))); \ } \ - } \ - BENCHMARK(MD5Benchmark_##N); + } \ + BENCHMARK(MD5Benchmark_##N); MD5_DEF(32) MD5_DEF(64) -- cgit v1.2.3