[all-commits] [llvm/llvm-project] d0f287: [clangd] Add $/memoryUsage LSP extension
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Mon Oct 19 03:31:11 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d0f287464d8a2b6940cc968850b7a013c665981a
https://github.com/llvm/llvm-project/commit/d0f287464d8a2b6940cc968850b7a013c665981a
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2020-10-19 (Mon, 19 Oct 2020)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdLSPServer.h
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Protocol.h
M clang-tools-extra/clangd/test/initialize-params.test
A clang-tools-extra/clangd/test/memory_tree.test
Log Message:
-----------
[clangd] Add $/memoryUsage LSP extension
Performs a detailed profiling of clangd lsp server and conveys the
result to the client as a json object. It is of the form:
{
"_self": 0,
"_total": 8,
"child1": {
"_self": 4,
"_total": 4,
}
"child2": {
"_self": 2,
"_total": 4,
"child_deep": {
"_self": 2,
"_total": 2,
}
}
}
Differential Revision: https://reviews.llvm.org/D89277
More information about the All-commits
mailing list