Skip to content

Commit

Permalink
Don't do canada for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Jun 2, 2024
1 parent a0b59bd commit e90c68f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions benchmarks/json/canada.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit e90c68f

Please sign in to comment.