From a680ed8e427a44f5a359b8015eb552e187fceec4 Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 28 Mar 2018 01:13:04 +0300 Subject: [PATCH] Comment benchmark causing clang to crash. GitOrigin-RevId: 737e5e008b9c02f172c2e38cdb2bc8c6665a36eb --- benchmark/bench_misc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/bench_misc.cpp b/benchmark/bench_misc.cpp index bfbcea438..68cf4819d 100644 --- a/benchmark/bench_misc.cpp +++ b/benchmark/bench_misc.cpp @@ -107,8 +107,8 @@ BENCH(ThreadNew, "new struct then delete in several threads") { tb.join(); } #endif - -// Too hard for android clang (?) +/* +// Too hard for clang (?) BENCH(Time, "Clocks::monotonic") { double res = 0; for (int i = 0; i < n; i++) { @@ -116,7 +116,7 @@ BENCH(Time, "Clocks::monotonic") { } do_not_optimize_away(res); } - +*/ #if !TD_WINDOWS class PipeBench : public Benchmark { public: