[all-commits] [llvm/llvm-project] f9317f: [clangd] Introduce MemoryTrees

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon Oct 12 06:27:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f9317f7bf6bdac10d6f8a1c106ef8d489da7efbf
      https://github.com/llvm/llvm-project/commit/f9317f7bf6bdac10d6f8a1c106ef8d489da7efbf
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M clang-tools-extra/clangd/support/CMakeLists.txt
    A clang-tools-extra/clangd/support/MemoryTree.cpp
    A clang-tools-extra/clangd/support/MemoryTree.h
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    A clang-tools-extra/clangd/unittests/support/MemoryTreeTests.cpp

  Log Message:
  -----------
  [clangd] Introduce MemoryTrees

A structure that can be used to represent memory usage of a nested
set of systems.

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


  Commit: c9d2876da95c5a15c85de8473a0cb5fb44eb3289
      https://github.com/llvm/llvm-project/commit/c9d2876da95c5a15c85de8473a0cb5fb44eb3289
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M clang-tools-extra/clangd/support/MemoryTree.cpp
    M clang-tools-extra/clangd/support/MemoryTree.h
    M clang-tools-extra/clangd/unittests/support/MemoryTreeTests.cpp

  Log Message:
  -----------
  [clangd] Add a metric for tracking memory usage

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


  Commit: a74d594948611164f88a79ca0544721183a0b19c
      https://github.com/llvm/llvm-project/commit/a74d594948611164f88a79ca0544721183a0b19c
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M clang-tools-extra/clangd/index/Background.cpp
    M clang-tools-extra/clangd/index/Background.h
    M clang-tools-extra/clangd/index/FileIndex.cpp
    M clang-tools-extra/clangd/index/FileIndex.h
    M clang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp
    M clang-tools-extra/clangd/unittests/FileIndexTests.cpp

  Log Message:
  -----------
  [clangd] Introduce memory dumping to FileIndex, FileSymbols and BackgroundIndex

File-granular information is considered details.

Depends on D88411

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


  Commit: 23a53301c545b45a6c809cc3f444c5f4e577f6c0
      https://github.com/llvm/llvm-project/commit/23a53301c545b45a6c809cc3f444c5f4e577f6c0
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M clang-tools-extra/clangd/TUScheduler.cpp
    M clang-tools-extra/clangd/TUScheduler.h
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp

  Log Message:
  -----------
  [clangd] Introduce memory usage dumping to TUScheduler, for Preambles and ASTCache

File-granular information is considered details.

Depends on D88411

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


  Commit: 20f69ccfe64aeab9c32d1698df399bd864dda8b1
      https://github.com/llvm/llvm-project/commit/20f69ccfe64aeab9c32d1698df399bd864dda8b1
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M clang-tools-extra/clangd/support/Trace.cpp
    M clang-tools-extra/clangd/support/Trace.h

  Log Message:
  -----------
  [clangd] Add a helper for exposing tracer status


  Commit: 35871fde55ac98b543edd2e7c62d1456a26562d8
      https://github.com/llvm/llvm-project/commit/35871fde55ac98b543edd2e7c62d1456a26562d8
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M clang-tools-extra/clangd/ClangdLSPServer.cpp
    M clang-tools-extra/clangd/ClangdLSPServer.h
    M clang-tools-extra/clangd/ClangdServer.cpp
    M clang-tools-extra/clangd/ClangdServer.h
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp

  Log Message:
  -----------
  [clangd] Record memory usages after each notification

Depends on D88415

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


Compare: https://github.com/llvm/llvm-project/compare/c252200e4de4...35871fde55ac


More information about the All-commits mailing list