Comment benchmark causing clang to crash.

GitOrigin-RevId: 737e5e008b9c02f172c2e38cdb2bc8c6665a36eb
This commit is contained in:
levlam 2018-03-28 01:13:04 +03:00
parent f8efdc7b9d
commit a680ed8e42

View File

@ -107,8 +107,8 @@ BENCH(ThreadNew, "new struct then delete in several threads") {
tb.join(); tb.join();
} }
#endif #endif
/*
// Too hard for android clang (?) // Too hard for clang (?)
BENCH(Time, "Clocks::monotonic") { BENCH(Time, "Clocks::monotonic") {
double res = 0; double res = 0;
for (int i = 0; i < n; i++) { for (int i = 0; i < n; i++) {
@ -116,7 +116,7 @@ BENCH(Time, "Clocks::monotonic") {
} }
do_not_optimize_away(res); do_not_optimize_away(res);
} }
*/
#if !TD_WINDOWS #if !TD_WINDOWS
class PipeBench : public Benchmark { class PipeBench : public Benchmark {
public: public: