//===--- DecisionForestBenchmark.cpp ------------*- C++ -*-===// // // Benchmark for code completion ranking latency. // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // Usage: // ninja DecisionForestBenchmark && \ // tools/clang/tools/extra/clangd/benchmarks/CompletionModel/DecisionForestBenchmark //===----------------------------------------------------------------------===// #include "CompletionModel.h" #include "benchmark/benchmark.h" #include "llvm/ADT/StringRef.h" #include <random> namespace clang { namespace clangd { namespace … // namespace } // namespace clangd } // namespace clang BENCHMARK_MAIN(…);