[PATCH] D52047: [clangd] Add a "benchmark" for tracking memory

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 14 01:11:44 PDT 2018


kbobyrev updated this revision to Diff 165440.
kbobyrev added a comment.

Move `vlog` message to the outer `build(...)` function: otherwise `BackingMemorySize` is not set to the correct value and log reports index overhead (instead of the complete index + slab) size.


https://reviews.llvm.org/D52047

Files:
  clang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp
  clang-tools-extra/clangd/index/dex/Dex.cpp
  clang-tools-extra/clangd/index/dex/Dex.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52047.165440.patch
Type: text/x-patch
Size: 4267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180914/ca1b2c16/attachment.bin>


More information about the cfe-commits mailing list