From e90c68f7b137082f192c704c3c184e584f079ac1 Mon Sep 17 00:00:00 2001 From: Patrick Urbanke Date: Sun, 2 Jun 2024 16:45:56 +0200 Subject: [PATCH] Don't do canada for clang --- benchmarks/json/canada.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/benchmarks/json/canada.cpp b/benchmarks/json/canada.cpp index dbae4692..094c6697 100644 --- a/benchmarks/json/canada.cpp +++ b/benchmarks/json/canada.cpp @@ -381,6 +381,9 @@ static void BM_canada_rapidjson(benchmark::State &state) { } BENCHMARK(BM_canada_rapidjson); +#ifndef __clang__ + +// simdjson has a bug in clang. static void BM_canada_simdjson(benchmark::State &state) { const auto json_string = load_data(); for (auto _ : state) { @@ -392,6 +395,8 @@ static void BM_canada_simdjson(benchmark::State &state) { } BENCHMARK(BM_canada_simdjson); +#endif + static void BM_canada_yyjson(benchmark::State &state) { const auto json_string = load_data(); for (auto _ : state) {