[clangd] Use JSON format in benchmark requests reader
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>
Thu, 13 Sep 2018 14:21:50 +0000 (14:21 +0000)
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>
Thu, 13 Sep 2018 14:21:50 +0000 (14:21 +0000)
commit60be1f59bd668441da1bdf95730d01ff1ff5ec0d
tree5a5454272b83e5129a978f84c372e9e026d2e930
parent64c901d2b11e75a89f8f69a03f55e67f59b617b5
[clangd] Use JSON format in benchmark requests reader

After `FuzzyFindRequest` JSON (de)serialization was introduced, it
should replace ad-hoc fuzzy-find request parsing implemented in the
IndexBenchmark driver.

Reviewed By: ilya-biryukov

Differential Revision: https://reviews.llvm.org/D51971

llvm-svn: 342137
clang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp
clang-tools-extra/test/clangd/Inputs/requests.json [new file with mode: 0644]
clang-tools-extra/test/clangd/Inputs/requests.log [deleted file]
clang-tools-extra/test/clangd/index-tools.test