[all-commits] [llvm/llvm-project] 6009d0: [clangd] Track time spent in filesystem ops during...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Mon Mar 21 10:34:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6009d0d5801d8f4ff45b425f3fe3792e93aec553
      https://github.com/llvm/llvm-project/commit/6009d0d5801d8f4ff45b425f3fe3792e93aec553
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

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

  Log Message:
  -----------
  [clangd] Track time spent in filesystem ops during preamble builds

In some deployments, for example when running on FUSE or using some
network-based VFS implementation, the filesystem operations might add up
to a significant fraction of preamble build time. This change allows us
to track time spent in FS operations to better understand the problem.

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




More information about the All-commits mailing list